Skip to content

Commit

Permalink
ci: publish snapshots to correct builds repository branch (#28083)
Browse files Browse the repository at this point in the history
With 1d67721, the snapshots CI job
was migrated from CircleCI to GitHub actions, but the underlying scripts
were not updated to no longer depend on CircleCI specifics.

(cherry picked from commit 7f301a8)
  • Loading branch information
devversion committed Nov 8, 2023
1 parent 039249a commit 5839643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/deploy/publish-build-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ publishPackage() {

buildDir="$(pwd)/dist/releases/${packageName}"
buildVersion=$(node -pe "require('./package.json').version")
branchName=${CIRCLE_BRANCH:-'main'}
branchName=${GITHUB_REF_NAME:-'main'}

commitSha=$(git rev-parse --short HEAD)
commitAuthorName=$(git --no-pager show -s --format='%an' HEAD)
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy/publish-docs-content.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ docsContentRepoUrl="https://github.com/angular/material2-docs-content"
buildVersion=$(node -pe "require('./package.json').version")

# Name of the branch that is currently being deployed.
branchName=${CIRCLE_BRANCH:-'main'}
branchName=${GITHUB_REF_NAME:-'main'}

# Additional information about the last commit for docs-content commits.
commitSha=$(git rev-parse --short HEAD)
Expand Down

0 comments on commit 5839643

Please sign in to comment.