Skip to content

Commit

Permalink
snap name simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
gustawdaniel committed Mar 22, 2023
1 parent 68e7276 commit 4479855
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,9 @@ jobs:
with:
name: snap
path: ${{ steps.snapcraft.outputs.snap }}
- run: cp ${{ steps.snapcraft.outputs.snap }} gpt-cli.snap
- run: |
sudo snap install --dangerous ${{ steps.snapcraft.outputs.snap }} --classic
sudo snap install --dangerous gpt-cli.snap --classic
- run: alias p=gpt-cli
- run: ./test_version.sh
- name: Release
Expand All @@ -226,4 +227,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
files: |
${{ steps.snapcraft.outputs.snap }}
gpt-cli.snap
2 changes: 2 additions & 0 deletions nfpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ description: |
vendor: "gustawdaniel"
homepage: "https://github.com/gustawdaniel/gpt-cli"
license: "MIT"
depends:
- libxcb
contents:
- src: ./target/release/gpt-cli
dst: /usr/bin/gpt-cli
Expand Down

0 comments on commit 4479855

Please sign in to comment.