Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename ockam-aap to portals #101

Merged
merged 3 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/ockam-app.rb.template → .github/portals.rb.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cask "ockam-app" do
cask "portals" do
version "release_tag"
name "Ockam"
desc "End-to-end encryption and mutual authentication for distributed applications"
name "Portals, by Ockam"
desc "Privately share TCP services from your Mac with anyone, anywhere."
homepage "https://github.com/build-trust/ockam"

if Hardware::CPU.arm?
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-bump-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
set -x
temp_dir=$(mktemp -d)
cp .github/ockam.rb.template $temp_dir/ockam.rb
cp .github/ockam-app.rb.template $temp_dir/ockam-app.rb
cp .github/portals.rb.template $temp_dir/portals.rb
cd $temp_dir

binaries=(${{ github.event.inputs.binaries }})
Expand All @@ -62,14 +62,14 @@ jobs:
fi

sed -i "s/${file[0]}_sha256_value/${file[1]}/g" ockam.rb
sed -i "s/${file[0]}_sha256_value/${file[1]}/g" ockam-app.rb
sed -i "s/${file[0]}_sha256_value/${file[1]}/g" portals.rb
done

sed -i "s/release_tag/${{ github.event.inputs.tag }}/g" ockam.rb
sed -i "s/release_tag/${{ github.event.inputs.tag }}/g" ockam-app.rb
sed -i "s/release_tag/${{ github.event.inputs.tag }}/g" portals.rb

cp ockam.rb $GITHUB_WORKSPACE/ockam.rb
cp ockam-app.rb $GITHUB_WORKSPACE/Casks/ockam-app.rb
cp portals.rb $GITHUB_WORKSPACE/Casks/portals.rb
cat ockam.rb

- name: Push Update
Expand All @@ -78,6 +78,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git add ockam.rb
git add Casks/ockam-app.rb
git add Casks/portals.rb
git commit -S -m "ci: update to release ${{ github.event.inputs.tag }}"
git push --set-upstream origin ${{ github.event.inputs.branch_name }}
10 changes: 5 additions & 5 deletions Casks/ockam-app.rb → Casks/portals.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cask "ockam-app" do
version "ockam_v0.111.0"
name "Ockam"
desc "End-to-end encryption and mutual authentication for distributed applications"
cask "portals" do
version "ockam_v0.110.0"
name "Portals, by Ockam"
desc "Privately share TCP services from your Mac with anyone, anywhere."
homepage "https://github.com/build-trust/ockam"

if Hardware::CPU.arm?
Expand All @@ -16,5 +16,5 @@

depends_on formula: "ockam"
app "Portals, by Ockam.app"
uninstall quit: "io.ockam.app"
uninstall quit: "io.ockam.Ockam"
end
22 changes: 16 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
# homebrew-ockam

Tap the Ockam Homebrew Formula
## Ockam CLI Installation

### Install Ockam

```
brew tap build-trust/ockam
brew install --cask build-trust/ockam/ockam
```

Install Ockam
### Upgrade Ockam

```
brew install ockam
brew update && brew upgrade ockam
```

Upgrade Ockam
## Ockam Desktop App Installation

### Install Portals

```
brew update && brew upgrade ockam
brew install --cask build-trust/ockam/portals --no-quarantine
```

### Upgrade Portals

```
brew update && brew upgrade portals
```