Untitled

 avatar
unknown
plain_text
a year ago
296 B
5
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_OUTPUT
Editor is loading...
Leave a Comment