mirror of
https://github.com/apricote/hcloud-upload-image.git
synced 2026-01-13 21:31:03 +00:00
fix: CLI does not produce release binaries (#3)
This commit is contained in:
parent
415c47e3d1
commit
f373d4c2ba
3 changed files with 8 additions and 2 deletions
2
.github/workflows/release-please.yaml
vendored
2
.github/workflows/release-please.yaml
vendored
|
|
@ -13,6 +13,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: google-github-actions/release-please-action@v4
|
- uses: google-github-actions/release-please-action@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.RELEASE_PLEASE_GH_TOKEN }}
|
token: ${{ secrets.RELEASE_GH_TOKEN }}
|
||||||
config-file: .github/release-please-config.json
|
config-file: .github/release-please-config.json
|
||||||
manifest-file: .github/release-please-manifest.json
|
manifest-file: .github/release-please-manifest.json
|
||||||
|
|
|
||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
|
@ -23,4 +23,4 @@ jobs:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --clean
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.RELEASE_GH_TOKEN }}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,9 @@ version: 1
|
||||||
builds:
|
builds:
|
||||||
- env:
|
- env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
|
ldflags:
|
||||||
|
- -X {{ .ModulePath }}/internal/version.version={{ .Version }}
|
||||||
|
- -X {{ .ModulePath }}/internal/version.versionPrerelease=
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
|
|
@ -25,6 +28,9 @@ archives:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
|
|
||||||
|
snapshot:
|
||||||
|
name_template: "{{ .Version }}-dev+{{ .ShortCommit }}"
|
||||||
|
|
||||||
changelog:
|
changelog:
|
||||||
# Generated by release-please
|
# Generated by release-please
|
||||||
disable: true
|
disable: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue