Skip to content

Commit 15c33af

Browse files
committed
attempt to fix auto-version
1 parent 6da8c83 commit 15c33af

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/publish.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@ jobs:
2121
# Update the package.json file
2222
sed -i "s/\"version\": \".*\",/\"version\": \"$TAG\",/" bindings/nodejs/package.json
2323
24-
# Checkout to main branch
25-
git checkout main
26-
2724
# Commit and push changes
28-
git config --local user.email "[email protected]"
29-
git config --local user.name "GitHub Action"
25+
git config user.name github-actions
26+
git config user.email [email protected]
27+
git add src/hvps/version.py bindings/nodejs/package.json
3028
git commit -am "Update version to $TAG"
3129
git push
3230

0 commit comments

Comments
 (0)