Extract version from directory name if .git dir is missing (#1327)

* Extract version from directory name if .git dir is missing

* Avoid using shell

* Remove .gitinfo build from pipeline
This commit is contained in:
whorfin
2021-09-06 18:26:04 -07:00
committed by GitHub
parent af7c87dd7b
commit 173b30cd59
2 changed files with 3 additions and 10 deletions
-3
View File
@@ -127,9 +127,6 @@ jobs:
- name: Show Version
run: git describe --tags
- name: Generate .gitinfo
run: make .gitinfo
- name: Run GoReleaser - SNAPSHOT
if: startsWith(github.ref, 'refs/tags/') != true
uses: docker://deluan/ci-goreleaser:1.16.4-1