Skip to content

Commit

Permalink
Update gitworkflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LiReXz committed May 24, 2024
1 parent 3f0207b commit 835f8ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gitworkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ jobs:
id: check_tag
run: |
if [[ $(git tag --points-at ea465bdb047159429605433d4249200eab505b9d) ]]; then
echo "::set-env name=TAG_EXISTS::true"
echo "TAG_EXISTS=true" >> $GITHUB_ENV
else
echo "::set-env name=TAG_EXISTS::false"
echo "TAG_EXISTS=false" >> $GITHUB_ENV
fi
- name: Set Tag Output
if: steps.check_tag.outputs.TAG_EXISTS == 'true'
if: env.TAG_EXISTS == 'true'
run: echo "Tag exists"

- name: Push version to master
if: steps.check_tag.outputs.tag != ''
if: env.TAG_EXISTS == 'true'
run: |
git checkout master
git merge ${{ steps.check_tag.outputs.tag }}
git merge ${{ steps.check_tag.outputs.TAG_EXISTS }}
git push origin master
# - name: Configure AWS credentials
Expand Down

0 comments on commit 835f8ea

Please sign in to comment.