File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 run : mv *.deb *.rpm dist/
3131 - name : Set RELEASE_VERSION
3232 run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
33+ - name : Set RELEASE_NUMBER
34+ run : echo "RELEASE_NUMBER=$(echo $RELEASE_VERSION | cut -c2-)" >> $GITHUB_ENV
3335 - name : Build darwin binary
3436 run : GOOS=darwin CGO_ENABLED=0 go build -mod vendor -o dist/sops-${{ env.RELEASE_VERSION }}.darwin go.mozilla.org/sops/v3/cmd/sops
3537 - name : Build windows binary
4244 repo_token : " ${{ secrets.GITHUB_TOKEN }}"
4345 prerelease : true
4446 files : |
45- dist/sops-${{ env.RELEASE_VERSION }}.windows
47+ dist/sops-${{ env.RELEASE_VERSION }}.exe
4648 dist/sops-${{ env.RELEASE_VERSION }}.darwin
4749 dist/sops-${{ env.RELEASE_VERSION }}.linux
48- dist/sops_ ${{ env.RELEASE_VERSION }}_amd64.deb
49- dist/sops_ ${{ env.RELEASE_VERSION }}-1.x86_64.rpm
50+ dist/sops- ${{ env.RELEASE_NUMBER }}_amd64.deb
51+ dist/sops- ${{ env.RELEASE_NUMBER }}-1.x86_64.rpm
You can’t perform that action at this time.
0 commit comments