Fixed build
This commit is contained in:
parent
e4b349d283
commit
455d8208f5
@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get Date and Build Number
|
- name: Get Date and Build Number
|
||||||
run: |
|
run: |
|
||||||
git fetch
|
git fetch --tags
|
||||||
git tag
|
git tag
|
||||||
DATE=$(date +'%Y.%m.%d')
|
DATE=$(date +'%Y.%m.%d')
|
||||||
TAG_COUNT=$(git tag -l "${DATE}.*" | wc -l)
|
TAG_COUNT=$(git tag -l "${DATE}.*" | wc -l)
|
||||||
@ -30,7 +30,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config user.name "ci"
|
git config user.name "ci"
|
||||||
git config user.email "dev@sh-edraft.de"
|
git config user.email "dev@sh-edraft.de"
|
||||||
git tag ${{ env.BUILD_VERSION }}
|
echo "tag $(cat version.txt)"
|
||||||
|
git tag $(cat version.txt)
|
||||||
git push origin --tags
|
git push origin --tags
|
||||||
|
|
||||||
- name: Upload build version artifact
|
- name: Upload build version artifact
|
||||||
|
@ -30,7 +30,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git config user.name "ci"
|
git config user.name "ci"
|
||||||
git config user.email "dev@sh-edraft.de"
|
git config user.email "dev@sh-edraft.de"
|
||||||
git tag ${{ env.BUILD_VERSION }}
|
echo "tag $(cat version.txt)"
|
||||||
|
git tag $(cat version.txt)
|
||||||
git push origin --tags
|
git push origin --tags
|
||||||
|
|
||||||
- name: Upload build version artifact
|
- name: Upload build version artifact
|
||||||
|
Loading…
Reference in New Issue
Block a user