sh
This commit is contained in:
9
action.sh
Executable file
9
action.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in New Issue
Block a user