Skip to content

Commit

Permalink
ci: publish snapshots to correct builds repository branch
Browse files Browse the repository at this point in the history
With angular@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.
  • Loading branch information
devversion committed Nov 8, 2023
1 parent 6ae9107 commit 1e2060e
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 1e2060e

Please sign in to comment.