Skip to content

Commit

Permalink
cambio set-output v10
Browse files Browse the repository at this point in the history
  • Loading branch information
gninaunitedvirtualities committed Dec 8, 2022
1 parent c0e3817 commit b8d0461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto_prod_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ jobs:
null_value=0
newTag="v${tag_array[0]}.${temp}.${null_value}"
echo "latest-tag=v${tag_array[0]}.${temp}.${null_value}" >> $GITHUB_ENV
echo "::set-output name=tag_version::$(echo ${newTag})"
echo "tag_version=${newTag}" >> $GITHUB_OUTPUT
elif [[ "${version}" == "major" ]]
then
temp=${tag_array[0]}
((temp=temp+1))
echo "${temp}"
newTag="v${temp}.${tag_array[1]}.${tag_array[2]}"
echo "latest-tag=v${temp}.${tag_array[1]}.${tag_array[2]}" >> $GITHUB_ENV
echo "::set-output name=tag_version::$(echo ${newTag})"
echo "tag_version=${newTag}" >> $GITHUB_OUTPUT
else
temp=${tag_array[2]}
((temp=temp+1))
Expand Down

0 comments on commit b8d0461

Please sign in to comment.