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 authored and GitHub committed 2021-09-06 21:26:04 -04:00
1 parent af7c87dd7b
commit 173b30cd59
2 files changed
+3 -10

No files matched your search

-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