Compile and release semver and the V1 tag.

This commit is contained in:
2022-11-03 10:39:43 +00:00
parent 7787fe5e6c
commit 915c9a9f71
+18 -1
View File
@@ -205,7 +205,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Compile binary
- name: Compile and release semver
uses: wangyoucao577/go-release-action@v1.32
with:
github_token: ${{ secrets.GHCR_TOKEN }}
@@ -222,6 +222,23 @@ jobs:
overwrite: true
pre_command: export GODEBUG=http2client=0
- name: Compile and release v1
uses: wangyoucao577/go-release-action@v1.32
with:
github_token: ${{ secrets.GHCR_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
ldflags: -s -w -X main.PKG_VERSION=${{ needs.prepare.outputs.RELEASE_VERSION }}
project_path: .
binary_name: semver-gen
asset_name: semver-gen-${{ matrix.goos }}-${{ matrix.goarch }}
release_name: version v1:${{ needs.prepare.outputs.RELEASE_VERSION }}
release_tag: v1
compress_assets: false
retry: 10
overwrite: true
pre_command: export GODEBUG=http2client=0
# - name: Create Release
# id: create_release
# uses: marvinpinto/action-automatic-releases@latest