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:
Deluan Quintão
2023-01-25 15:35:01 -05:00
committed by GitHub
parent 1950c07b1d
commit b825d3cfac
2 changed files with 6 additions and 9 deletions
+6 -5
View File
@@ -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