Skip to content

Commit 35ef99d

Browse files
committed
ci: fix
1 parent 8dd764c commit 35ef99d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
GHA_JOB_NUMBER: ${{ github.job_number }}
6363
GHA_COMMIT: ${{ github.sha }}
6464
GHA_TAG: ${{ github.event.release.tag_name }}
65-
# TRAVIS_TAG: ${{ github.event.release.tag_name }}
65+
TRAVIS_TAG: ${{ github.event.release.tag_name }} # for setMavenVersion
6666
run: |
6767
build/setMavenVersion.sh
6868
mvn clean javadoc:aggregate $MVN_ARGS

build/publish_gha.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# The javadocs are committed and pushed to the git repository's gh-pages branch.
55
# Be sure to customize this file to reflect your SDK project's settings (git url,
66

7+
export GHA_BRANCH=${GHA_BRANCH##*/} # Get the last part for true branch name - "refs/heads/9260_gha"
78
# Avoid publishing javadocs for a PR build
89
if [ "$GHA_PULL_REQUEST" == "false" ] && [ "$GHA_BRANCH" ]; then
9-
export GHA_BRANCH=${GHA_BRANCH##*/} # Get the last part for true branch name - "refs/heads/9260_gha"
1010
printf "\n>>>>> Publishing javadoc for release build: repo=%s branch=%s build_num=%s job_num=%s pr=%s tag=%s commit=%s\n" ${GHA_REPO_SLUG} ${GHA_BRANCH} ${GHA_BUILD_NUMBER} ${GHA_JOB_NUMBER} ${GHA_PULL_REQUEST} ${GHA_TAG} ${GHA_COMMIT}
1111

1212
printf "\n>>>>> Cloning repository's gh-pages branch into directory 'gh-pages'\n"

0 commit comments

Comments
 (0)