diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed39247..d8ea35c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,10 +55,10 @@ jobs: git config --global user.email "ci@awellhealth.com" npm version patch npm run bundle - new_version=$(cat package.json | jq -r '.version') - git add . - git commit -m "ci: update tag with new version $new_version [skip ci]" && git push - git tag -a $new_version -m "ci: update tag with new version $new_version" && git push origin $new_version + new_version=v$(cat package.json | jq -r '.version') + git commit --amend -m "$new_version [skip ci]" + git push + git tag -a $new_version -m "ci: update tag: $new_version" && git push --tags echo "new_version=$new_version" >> "$GITHUB_OUTPUT" - name: Create release diff --git a/package-lock.json b/package-lock.json index 955d47e..77c41fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "action-validate", - "version": "1.1.1", + "version": "1.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "action-validate", - "version": "1.1.1", + "version": "1.1.2", "license": "MIT", "dependencies": { "@actions/core": "^1.10.1", diff --git a/package.json b/package.json index 6ddc604..9b1e439 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "action-validate", "description": "GitHub action for careflow validation", - "version": "1.1.1", + "version": "1.1.2", "author": "", "private": true, "homepage": "https://github.com/awell-health/action-validate",