Skip to content

Commit

Permalink
Add version bump plugin to release process
Browse files Browse the repository at this point in the history
update after release steps
  • Loading branch information
paustint committed Jan 21, 2023
1 parent fea235b commit f2d4df1
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 31 deletions.
9 changes: 7 additions & 2 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"plugins": {},
"plugins": {
"@release-it/bumper": {
"in": "package.json",
"out": "package.json"
}
},
"git": {
"commitMessage": "chore: release ${version}",
"tag": true,
Expand All @@ -14,6 +19,6 @@
"hooks": {
"before:bump": "yarn build",
"after:bump": "git checkout -- package.json",
"after:release": "git checkout release && git reset --hard main && git push origin release -f && git checkout main"
"after:release": "CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD) && git checkout release && git reset --hard $CURRENT_BRANCH && git push origin release -f && git checkout main"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"url": "https://github.com/jetstreamapp/jetstream"
},
"author": "Jetstream",
"version": "2.0.1",
"version": "2.0.2",
"license": "GNU Lesser General Public License v3.0",
"engines": {
"node": ">=16 <=18"
Expand Down Expand Up @@ -136,7 +136,7 @@
"@nx-plus/docusaurus": "14.0.0",
"@playwright/test": "^1.26.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@release-it/bumper": "^4.0.0",
"@release-it/bumper": "^4.0.2",
"@release-it/conventional-changelog": "^5.0.0",
"@salesforce-ux/design-system": "^2.18.0",
"@storybook/addon-essentials": "6.5.9",
Expand Down
54 changes: 27 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4874,15 +4874,15 @@
resolved "https://registry.npmjs.org/@react-types/shared/-/shared-3.13.1.tgz"
integrity sha512-EHQqILDJeDvnloy5VV9lnnEjpCMwH1ghptCfa/lz9Ht9nwco3qGCvUABkWyND7yU1Adt3A/1oJxhpRUu3eTlyg==

"@release-it/bumper@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@release-it/bumper/-/bumper-4.0.0.tgz#40ae39ad37493dbfaf7449000523c8f46099579c"
integrity sha512-DswMVRuWNeeuDPd8DNpMhuHjqxnwOi5A+v9CTrbAQ7/1K+VOGUGItS4ekjWfb1qBvJw/ouiAinBo9ckjtnhktA==
"@release-it/bumper@^4.0.2":
version "4.0.2"
resolved "https://registry.yarnpkg.com/@release-it/bumper/-/bumper-4.0.2.tgz#2f1e9ffd1c3baccd058f5c005b0abf7009f67c74"
integrity sha512-HjiFIBNvb67cLTbzdm6EqiSRwpB4MJY4TGJFY/ac5qnIxERWK5gx1zBnwbJZffDSoS46hJMugoXrDbITEfX4gA==
dependencies:
"@iarna/toml" "^2.2.5"
detect-indent "^7.0.0"
fast-glob "^3.2.7"
ini "^3.0.0"
detect-indent "7.0.1"
fast-glob "3.2.12"
ini "3.0.1"
js-yaml "^4.1.0"
lodash.castarray "^4.4.0"
lodash.get "^4.4.2"
Expand Down Expand Up @@ -11560,10 +11560,10 @@ [email protected]:
dependencies:
repeat-string "^1.5.4"

detect-indent@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-7.0.0.tgz#cab58e6ab1129c669e2101181a6c677917d43577"
integrity sha512-/6kJlmVv6RDFPqaHC/ZDcU8bblYcoph2dUQ3kB47QqhkUEqXe3VZPELK9BaEMrC73qu+wn0AQ7iSteceN+yuMw==
[email protected].1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-7.0.1.tgz#cbb060a12842b9c4d333f1cac4aa4da1bb66bc25"
integrity sha512-Mc7QhQ8s+cLrnUfU/Ji94vG/r8M26m8f++vyres4ZoojaRDpZ1eSIh/EpzLNwlWuvzSZ3UbDFspjFvTDXe6e/g==

detect-libc@^2.0.0, detect-libc@^2.0.1:
version "2.0.1"
Expand Down Expand Up @@ -13085,6 +13085,17 @@ [email protected]:
resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.1.2.tgz"
integrity sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig==

[email protected], fast-glob@^3.2.12:
version "3.2.12"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"
integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==
dependencies:
"@nodelib/fs.stat" "^2.0.2"
"@nodelib/fs.walk" "^1.2.3"
glob-parent "^5.1.2"
merge2 "^1.3.0"
micromatch "^4.0.4"

[email protected]:
version "3.2.7"
resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz"
Expand Down Expand Up @@ -13119,17 +13130,6 @@ fast-glob@^3.0.3, fast-glob@^3.2.11, fast-glob@^3.2.7, fast-glob@^3.2.9:
merge2 "^1.3.0"
micromatch "^4.0.4"

fast-glob@^3.2.12:
version "3.2.12"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"
integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==
dependencies:
"@nodelib/fs.stat" "^2.0.2"
"@nodelib/fs.walk" "^1.2.3"
glob-parent "^5.1.2"
merge2 "^1.3.0"
micromatch "^4.0.4"

fast-json-parse@^1.0.3:
version "1.0.3"
resolved "https://registry.npmjs.org/fast-json-parse/-/fast-json-parse-1.0.3.tgz"
Expand Down Expand Up @@ -15124,16 +15124,16 @@ [email protected]:
resolved "https://registry.npmjs.org/ini/-/ini-2.0.0.tgz"
integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==

[email protected]:
version "3.0.1"
resolved "https://registry.yarnpkg.com/ini/-/ini-3.0.1.tgz#c76ec81007875bc44d544ff7a11a55d12294102d"
integrity sha512-it4HyVAUTKBc6m8e1iXWvXSTdndF7HbdN713+kvLrymxTaU4AUBWrJ4vEooP+V7fexnVD3LKcBshjGGPefSMUQ==

ini@^1.3.2, ini@^1.3.4, ini@^1.3.5, ini@~1.3.0:
version "1.3.8"
resolved "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz"
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==

ini@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/ini/-/ini-3.0.0.tgz#2f6de95006923aa75feed8894f5686165adc08f1"
integrity sha512-TxYQaeNW/N8ymDvwAxPyRbhMBtnEwuvaTYpOQkFx1nSeusgezHniEc/l35Vo4iCq/mMiTJbpD7oYxN98hFlfmw==

[email protected]:
version "0.1.1"
resolved "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.1.1.tgz"
Expand Down

0 comments on commit f2d4df1

Please sign in to comment.