Files
version_tag/action
Bryce Thorup 5086e958b8 correct order
2023-12-15 06:21:01 -07:00

9 lines
294 B
Plaintext
Executable File

apt update
apt install jq -y
# CURRENT_VERSION=$(jq -r .version package.json)
# PREVIOUS_VERSIONS=$(git tag -l)
# if [[ $PREVIOUS_VERSIONS =~ (^|[[:space:]])$CURRENT_VERSION($|[[:space:]]) ]]; then
# git tag -a -m "Version $(CURRENT_VERSION)" $CURRENT_VERSION
# git push --follow-tags
# fi