Skip to content

Commit

Permalink
latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
vraiti committed Aug 7, 2024
1 parent 740940e commit b6e62a5
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/publish-cli-bins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,5 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PATTERN='[0-9]{8}-[a-z0-9]{7}'
OLD_RELEASES=$(gh release list | egrep $PATTERN | awk '{ print $1 }')
for RELEASE in $OLD_RELEASES; do
gh release delete $RELEASE
done
for TAG in $(git tag); do
echo $TAG | egrep $PATTERN
if [ "$?" == "0" ]; then
git push --delete origin $TAG
fi
done
TAG=$(date +%Y%m%d)-$(git describe --always)
gh release create -p -n "Flightctl CLI pre-release" $TAG release/*
gh release create -p -n "Flightctl CLI pre-release" latest release/*

0 comments on commit b6e62a5

Please sign in to comment.