Skip to content

Commit

Permalink
fix(ci): Add custom tags for major and minor versions.
Browse files Browse the repository at this point in the history
Closes #25
  • Loading branch information
joberstein committed Aug 4, 2023
1 parent 2ceb65b commit 09642d8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
extra_plugins: |
@semantic-release/exec
@semantic-release/exec
semantic-release-major-tag
8 changes: 8 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
{
"publishCmd": "./deploy.sh ${nextRelease.version}"
}
],
[
"semantic-release-major-tag", {
"customTags": [
"v${major}",
"v${major}.${minor}"
]
}
]
]
}

0 comments on commit 09642d8

Please sign in to comment.