TP-39914 | fix
This commit is contained in:
5
.github/workflows/codePush.yml
vendored
5
.github/workflows/codePush.yml
vendored
@@ -71,8 +71,7 @@ jobs:
|
||||
id: check_tag
|
||||
run: |
|
||||
TAG_NAME="${{ needs.generate.outputs.package_version }}"
|
||||
TAG_EXISTS=$(git tag -l "$TAG_NAME")
|
||||
if [ "$TAG_EXISTS" ]; then
|
||||
if git rev-parse "$TAG_NAME" >/dev/null 2>&1; then
|
||||
echo "Tag $TAG_NAME already exists."
|
||||
echo "::set-output name=tag_exists::true"
|
||||
else
|
||||
@@ -83,7 +82,7 @@ jobs:
|
||||
if: steps.check_tag.outputs.tag_exists == 'false'
|
||||
run: |
|
||||
TAG_NAME="${{ needs.generate.outputs.package_version }}"
|
||||
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
|
||||
git config --local user.email "${{ github.actor }}@navi.com"
|
||||
git config --local user.name "${{ github.actor }}"
|
||||
git tag $TAG_NAME
|
||||
git push origin $TAG_NAME
|
||||
|
||||
Reference in New Issue
Block a user