Skip to content

Commit

Permalink
release version 2.3.0-RC2
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadsden committed Nov 8, 2024
1 parent 0aeec21 commit 09f1ca5
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 23 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "threat-dragon",
"version": "v2.3.0-RC1",
"version": "2.3.0-RC2",
"private": true,
"scripts": {
"audit": "npm-run-all -c audit:server audit:site",
Expand Down
29 changes: 16 additions & 13 deletions release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,23 @@ Before a release it is required that a release candidate version is created.
This allows the Threat Dragon community to review and feedback on the proposed release.
Changes that are agreed for the release should then be made available with a further release candidate.

For example if RC1, but change for RC2 and so on :

1. `git clone [email protected]:OWASP/threat-dragon.git`
2. `cd threat-dragon`
3. update version, for example `"version": "2.3.0-RC1",`, in `package.json`, `td.site/package.json` and `td.server/package.json`
4. ensure `buildState` in `td.vue/package.json` is `-latest`
5. update package lock files: `npm install`
6. `npm run build`
7. `npm test`
8. `npm run test:vue`
9. ensure that the package-lock files are up to date using `npm install`
10. `git add --all; git status`
11. `git commit -m"release version 2.3.0-RC1"`
12. `git push`
13. tag the release `git tag v2.3.0-RC1`
14. `git push origin v2.3.0-RC1`
3. update version, for example `"version": "2.3.0",`, in `td.vue/package.json`
4. ensure `buildState` in `td.vue/package.json` is `-RC1`
5. update version, for example `"version": "2.3.0-RC1",`, in `package.json` and `td.server/package.json`
6. update package lock files: `npm install`
7. `npm run build`
8. `npm test`
9. `npm run test:vue`
10. ensure that the package-lock files are up to date using `npm install`
11. `git add --all; git status`
12. `git commit -m"release version 2.3.0-RC1"`
13. `git push`
14. tag the release `git tag v2.3.0-RC1`
15. `git push origin v2.3.0-RC1`

repeat as necessary for further release candidates.

Expand All @@ -34,7 +37,7 @@ After the releases candidate has been agreed by the Threat Dragon community, a r

1. `git clone [email protected]:OWASP/threat-dragon.git`
2. `cd threat-dragon`
3. update version eg `"version": "2.3.0",`, in `package.json`, `td.site/package.json` and `td.server/package.json`
3. update version eg `"version": "2.3.0",`, in `package.json`, `td.vue/package.json` and `td.server/package.json`
4. update `buildState` in `td.vue/package.json` away from `-latest` to ''
5. update package lock files: `npm install`
6. `npm run build`
Expand Down
4 changes: 2 additions & 2 deletions td.server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion td.server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "threat-dragon-server",
"version": "v2.3.0-RC1",
"version": "2.3.0-RC2",
"private": true,
"scripts": {
"audit": "npm audit",
Expand Down
4 changes: 2 additions & 2 deletions td.vue/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions td.vue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "threat-dragon",
"productName": "Threat Dragon",
"version": "v2.3.0-RC1",
"version": "2.3.0",
"private": true,
"scripts": {
"audit": "npm audit",
Expand Down Expand Up @@ -43,7 +43,7 @@
},
"license": "Apache-2.0",
"homepage": "https://owasp.org/www-project-threat-dragon/",
"buildState": "-latest",
"buildState": "-RC2",
"repository": {
"type": "git",
"url": "git://github.com/OWASP/threat-dragon.git"
Expand Down

0 comments on commit 09f1ca5

Please sign in to comment.