Skip to content

Commit

Permalink
Trying to add a .msi to our releases (gopasspw#2001)
Browse files Browse the repository at this point in the history
RELEASE_NOTES=[ENHANCEMENT] Adding a MSI installer for Windows

Signed-off-by: Yolan Romailler <yolan@romailler.ch>
  • Loading branch information
AnomalRoil committed Sep 30, 2021
1 parent c574d86 commit fce07db
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.16
# ubuntu is missing wixl https://github.com/actions/virtual-environments/issues/3857
-
name: "Install GNOME msitools (wixl)"
run: sudo apt update -qq && sudo apt install -qq -y wixl
-
name: Import GPG signing key
id: import_gpg
Expand Down Expand Up @@ -59,3 +63,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GOPATH: /home/runner/go
-
name: "Add Windows installer (msi) to release"
run: | # until https://github.com/goreleaser/goreleaser/issues/1295
tag="${GITHUB_REF#refs/tags/}"
version=${tag#v}
MSI_VERSION=${version} make msi
msi=dist/gopass-${version}-windows-amd64.msi
mv dist/gopass_windows_amd64/gopass.msi ${msi}
gh release upload "${tag}" "${msi}"
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

0 comments on commit fce07db

Please sign in to comment.