From 5086e958b8fbcd939e73e6b5fbc451af29e34ac8 Mon Sep 17 00:00:00 2001 From: Bryce Thorup Date: Fri, 15 Dec 2023 06:21:01 -0700 Subject: [PATCH] correct order --- action | 12 ++++++------ action.yaml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/action b/action index 41b0ac3..7970cdc 100755 --- a/action +++ b/action @@ -1,9 +1,9 @@ apt update apt install jq -y -CURRENT_VERSION=$(jq -r .version package.json) -PREVIOUS_VERSIONS=$(git tag -l) +# 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 \ No newline at end of file +# if [[ $PREVIOUS_VERSIONS =~ (^|[[:space:]])$CURRENT_VERSION($|[[:space:]]) ]]; then +# git tag -a -m "Version $(CURRENT_VERSION)" $CURRENT_VERSION +# git push --follow-tags +# fi \ No newline at end of file diff --git a/action.yaml b/action.yaml index 1300565..7b747bf 100644 --- a/action.yaml +++ b/action.yaml @@ -8,5 +8,5 @@ inputs: runs: using: composite steps: - - run: Ensure apt is up-to-date - shell: ./action + - run: action + shell: bash