mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-06-28 06:59:37 +00:00
commit
b269e8538d
2 changed files with 17 additions and 5 deletions
20
.github/workflows/.release.yml
vendored
20
.github/workflows/.release.yml
vendored
|
@ -13,12 +13,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
-
|
-
|
||||||
name: Set up Go
|
name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.21
|
go-version: 1.21
|
||||||
-
|
-
|
||||||
|
@ -33,13 +33,25 @@ jobs:
|
||||||
go run main.go gendoc --type man
|
go run main.go gendoc --type man
|
||||||
pwd
|
pwd
|
||||||
ls
|
ls
|
||||||
|
-
|
||||||
|
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||||
|
run: echo "flags=--snapshot" >> $GITHUB_ENV
|
||||||
-
|
-
|
||||||
name: Run GoReleaser
|
name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v2
|
uses: goreleaser/goreleaser-action@v5
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
args: release --clean
|
args: release --clean ${{ env.flags }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
|
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
|
||||||
|
-
|
||||||
|
name: Run Version
|
||||||
|
run: |
|
||||||
|
dist/go-passbolt-cli_linux_amd64_v1/passbolt -v
|
||||||
|
-
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: go-passbolt-cli-artifacts
|
||||||
|
path: dist/
|
||||||
|
|
|
@ -48,7 +48,7 @@ brews:
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
skip_upload: false
|
skip_upload: false
|
||||||
description: "A CLI tool to interact with Passbolt, a Open source Password Manager for Teams"
|
description: "A CLI tool to interact with Passbolt, a Open source Password Manager for Teams"
|
||||||
folder: Formula
|
directory: Formula
|
||||||
install: |
|
install: |
|
||||||
bin.install "passbolt"
|
bin.install "passbolt"
|
||||||
bash_completion.install "completion/bash" => "passbolt"
|
bash_completion.install "completion/bash" => "passbolt"
|
||||||
|
|
Loading…
Add table
Reference in a new issue