mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
Fix versioning releases in the pipeline (#2101)
* Revert "Disable buildvcs flag" This reverts commit 1374dab08775d3fefff96dbe707675e0d1a766d3. * Config /github/workspace folder as trusted
This commit is contained in:
parent
1950c07b1d
commit
b825d3cfac
11
.github/workflows/pipeline.yml
vendored
11
.github/workflows/pipeline.yml
vendored
@ -125,11 +125,12 @@ jobs:
|
|||||||
name: js-bundle
|
name: js-bundle
|
||||||
path: ui/build
|
path: ui/build
|
||||||
|
|
||||||
- name: Show Tags
|
- name: Config /github/workspace folder as trusted
|
||||||
run: git tag
|
uses: docker://deluan/ci-goreleaser:1.19.5-1
|
||||||
|
env:
|
||||||
- name: Show Version
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: git describe --tags
|
with:
|
||||||
|
args: /bin/bash -c "git config --global --add safe.directory /github/workspace; git describe --dirty --always --tags"
|
||||||
|
|
||||||
- name: Run GoReleaser - SNAPSHOT
|
- name: Run GoReleaser - SNAPSHOT
|
||||||
if: startsWith(github.ref, 'refs/tags/') != true
|
if: startsWith(github.ref, 'refs/tags/') != true
|
||||||
|
|||||||
@ -1,10 +1,6 @@
|
|||||||
# GoReleaser config
|
# GoReleaser config
|
||||||
project_name: navidrome
|
project_name: navidrome
|
||||||
|
|
||||||
before:
|
|
||||||
hooks:
|
|
||||||
- go env -w GOFLAGS="-buildvcs=false"
|
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- id: navidrome_linux_amd64
|
- id: navidrome_linux_amd64
|
||||||
env:
|
env:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user