Skip to content

Commit

Permalink
Add '.dev0' to the post version bump commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
mofojed committed Apr 3, 2024
1 parent 4963f18 commit fd9df08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cog.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ post_package_bump_hooks = [
"../../tools/extract_changelog.sh CHANGELOG.md > ../../releases/GITHUB_CHANGELOG-{{package}}.md",
# update the version number to have a `dev0` suffix
"../../tools/update_version.sh {{package}} {{version}} --dev",
"git commit --all --message 'chore(version): update {{package}} version to {{version}}'",
"git commit --all --message 'chore(version): update {{package}} version to {{version}}.dev0'",
# push the tag and the commits to main
"git push origin {{package}}-v{{version}}",
"git push origin main",
Expand Down
2 changes: 1 addition & 1 deletion tools/update_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ esac

# We still need to bump these JS packages for Enterprise legacy reasons, even though they're packaged with Python
npm_version="${version}"
if [ ! "$dev" = true ]; then
if [ "$dev" != true ]; then
case "$package" in
auth-keycloak | dashboard-object-viewer | matplotlib | plotly | plotly-express | table-example | ui)
# The working directory is already `plugins/<package-name>`, so we just specify workspace as `src/js` and it does the right thing
Expand Down

0 comments on commit fd9df08

Please sign in to comment.