Untitled
Anonymous
plain_text
07/20/2024 7:43 PM
396 B
22
Indexable
echo "current_version_major=$(echo ${{ github.event.release.tag_name }} | sed 's/v//' | cut -d "." -f1)" >> $GITHUB_OUTPUT
git fetch --tags
echo "previous_version_major=$(git tag -l | sort -V --reverse | sed -n 2p | sed 's/v//' | cut -d "." -f1)" >> $GITHUB_OUTPUTEditor is loading...
Leave a Comment