mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Fix versioning releases in the pipeline (#2101)
* Revert "Disable buildvcs flag"
This reverts commit 1374dab087
.
* Config /github/workspace folder as trusted
This commit is contained in:
parent
1950c07b1d
commit
b825d3cfac
2 changed files with 6 additions and 9 deletions
11
.github/workflows/pipeline.yml
vendored
11
.github/workflows/pipeline.yml
vendored
|
@ -125,11 +125,12 @@ jobs:
|
|||
name: js-bundle
|
||||
path: ui/build
|
||||
|
||||
- name: Show Tags
|
||||
run: git tag
|
||||
|
||||
- name: Show Version
|
||||
run: git describe --tags
|
||||
- name: Config /github/workspace folder as trusted
|
||||
uses: docker://deluan/ci-goreleaser:1.19.5-1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
args: /bin/bash -c "git config --global --add safe.directory /github/workspace; git describe --dirty --always --tags"
|
||||
|
||||
- name: Run GoReleaser - SNAPSHOT
|
||||
if: startsWith(github.ref, 'refs/tags/') != true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue