Experiment with automatic packaging and releasing
use rust-webapp image for release use npm rather than pnpm use node 24 use rust latest image add cache to release check for tag before releasing check for tag before releasing release 0.0.3
This commit is contained in:
11
check-for-tag.sh
Executable file
11
check-for-tag.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
TAGS="$(git tag --points-at HEAD)"
|
||||
echo "Found tags $TAGS"
|
||||
if [ -n "$TAGS" ]; then
|
||||
TAG=$(echo "$TAGS" | grep -E '^v[0-9]+.[0-9]+.[0-9]+$' | sort -V | tail -1)
|
||||
echo "Found release tag $TAG"
|
||||
echo "release_tag=$TAG" >> "$GITHUB_OUTPUTS"
|
||||
else
|
||||
echo "No release tag found"
|
||||
fi
|
||||
Reference in New Issue
Block a user