diff --git a/.github/workflows/on tag deploy on github.yaml b/.github/workflows/on tag deploy on github.yaml index 2325378..39950e0 100644 --- a/.github/workflows/on tag deploy on github.yaml +++ b/.github/workflows/on tag deploy on github.yaml @@ -31,7 +31,7 @@ jobs: - name: "TAG_PREVIOUS" id: "tag_previous" - run: "echo \"TAG_PREVIOUS=$(git describe --tags --abbrev=0 $(git describe --tags --skip=1 --max-count=1))\" >> $GITHUB_OUTPUT" # get previous tag, save in TAG_PREVIOUS, push to output + run: "echo \"TAG_PREVIOUS=$(git tag --sort=-creatordate | sed -n '2p')\" >> $GITHUB_OUTPUT" # get previous tag, save in TAG_PREVIOUS, push to output - name: "TODAY" id: "today"