Skip to content

Commit

Permalink
chore: create release branch and do a release
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-zhang-at-salesforce committed Nov 21, 2024
1 parent 32dac44 commit de902c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Check branch name # make sure the release can only be run on branches like 'release-*'
run: |
ref="${{ github.ref }}"
if [[ ! "$ref" =~ ^refs/heads/release-* ]]; then
echo "Error: Workflow can only run on branches starting with 'release-*'"
if [[ ! "$ref" =~ ^refs/heads/release ]]; then
echo "Error: Workflow can only run on branches starting with 'release'"
exit 1
fi
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"branches": ["release-1"],
"branches": ["release"],
"plugins": [
[
"@semantic-release/commit-analyzer",
Expand Down Expand Up @@ -36,5 +36,5 @@
]
],
"debug": true,
"dryRun": false
"dryRun": true
}

0 comments on commit de902c2

Please sign in to comment.