Skip to content

Commit

Permalink
fix: fix javadoc version label
Browse files Browse the repository at this point in the history
  • Loading branch information
dlangst committed Jul 29, 2022
1 parent 3ec2324 commit 1663282
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
if: ${{ steps.next_release.outputs.NEXT_RELEASE != null }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GHA_TAG: "refs/tags/v${{ steps.next_release.outputs.NEXT_RELEASE }}"
GHA_TAG: "refs/tags/${{ steps.next_release.outputs.NEXT_RELEASE }}"
GHA_COMMIT: ${{ github.sha }}
run: |
echo "Running script setMavenVersion"
Expand Down
8 changes: 0 additions & 8 deletions build/publishJavadoc_gha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,10 @@ ls -l latest
popd

printf "\n>>>>> Committing new javadoc for commit: %s\n" ${GHA_COMMIT}
printf "\n>>>>> Set and display user info"
git config user.email "[email protected]"
git config user.name "Deb Angst"
var1=$(git config --get user.name)
var2=$(git config --get user.email)
printf "\n>>>>> user name %s\n" $var1
printf "\n>>>>> user email %s\n" $var2
printf "\n>>>>> Calling git add"
git add -f .
printf "\n>>>>> Calling git commit"
git commit -m "chore: Javadoc for release ${GHA_TAG} (${GHA_COMMIT})"
printf "\n>>>>> Calling git push"
git push -f origin gh-pages

popd
Expand Down

0 comments on commit 1663282

Please sign in to comment.