diff --git a/package-lock.json b/package-lock.json index 6f1d1b05..8fb5b25c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "threat-dragon", - "version": "2.3.0-RC2", + "version": "2.3.0-RC3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "threat-dragon", - "version": "2.3.0-RC2", + "version": "2.3.0-RC3", "hasInstallScript": true, "license": "Apache-2.0", "devDependencies": { diff --git a/package.json b/package.json index eb8725da..ccebdb40 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "threat-dragon", - "version": "2.3.0-RC2", + "version": "2.3.0-RC3", "appBundleId": "org.owasp.threatdragon", "private": true, "scripts": { diff --git a/release-process.md b/release-process.md index 231c70fa..a5fa3913 100644 --- a/release-process.md +++ b/release-process.md @@ -11,7 +11,7 @@ For example if RC1, but change for RC2 and so on : 1. `git clone git@github.com:OWASP/threat-dragon.git` 2. `cd threat-dragon` 3. update version, for example `"version": "2.3.0-RC1",`, in `td.vue/package.json` -4. ensure `buildState` in `td.vue/package.json` is empty `` +4. ensure `buildState` in `td.vue/package.json` is "" (empty) 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` @@ -38,7 +38,7 @@ After the releases candidate has been agreed by the Threat Dragon community, a r 1. `git clone git@github.com:OWASP/threat-dragon.git` 2. `cd threat-dragon` 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 '' +4. update `buildState` in `td.vue/package.json` away from `-latest` to "" (empty) 5. update package lock files: `npm install` 6. `npm run build` 7. `npm test` @@ -128,7 +128,18 @@ Promote the release from draft to public once everything is in place Update the [releases tab][releases] and the [info pane][td-info] on the OWASP Threat Dragon project pages. Finally ensure Threat Dragon announces the new release on the [OWASP Threat Dragon][td-slack] slack channel -and any other relevant channels +and any other relevant channels such as [Blue Sky](https://bsky.app/profile/threatdragon.bsky.social) + +### Tidy up + +Reset the build state to 'latest'; this is displayed on the demo site: + +1. update `buildState` in `td.vue/package.json` away from "" to `-latest` +2. update package lock files: `npm install` +3. ensure that the package-lock files are up to date using `npm install` +4. `git add --all; git status` +5. `git commit -m"set latest build version"` +6. `git push` ### Manually notarize / staple for MacOS images diff --git a/td.server/package-lock.json b/td.server/package-lock.json index b8b3cd77..8a8f5cb0 100644 --- a/td.server/package-lock.json +++ b/td.server/package-lock.json @@ -1,12 +1,12 @@ { "name": "threat-dragon-server", - "version": "2.3.0-RC2", + "version": "2.3.0-RC3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "threat-dragon-server", - "version": "2.3.0-RC2", + "version": "2.3.0-RC3", "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.21.0", diff --git a/td.server/package.json b/td.server/package.json index 83152f05..a0bc7b9c 100644 --- a/td.server/package.json +++ b/td.server/package.json @@ -1,6 +1,6 @@ { "name": "threat-dragon-server", - "version": "2.3.0-RC2", + "version": "2.3.0-RC3", "private": true, "scripts": { "audit": "npm audit", diff --git a/td.vue/package-lock.json b/td.vue/package-lock.json index 54389c1c..3f92aaa5 100644 --- a/td.vue/package-lock.json +++ b/td.vue/package-lock.json @@ -1,12 +1,12 @@ { "name": "threat-dragon", - "version": "2.3.0-RC2", + "version": "2.3.0-RC3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "threat-dragon", - "version": "2.3.0-RC2", + "version": "2.3.0-RC3", "license": "Apache-2.0", "dependencies": { "@antv/x6": "^2.18.1", diff --git a/td.vue/package.json b/td.vue/package.json index a53380d9..b0f6b114 100644 --- a/td.vue/package.json +++ b/td.vue/package.json @@ -1,7 +1,7 @@ { "name": "threat-dragon", "productName": "Threat Dragon", - "version": "2.3.0-RC2", + "version": "2.3.0-RC3", "appBundleId": "org.owasp.threatdragon", "private": true, "scripts": { @@ -44,7 +44,7 @@ }, "license": "Apache-2.0", "homepage": "https://owasp.org/www-project-threat-dragon/", - "buildState": "-RC2", + "buildState": "", "repository": { "type": "git", "url": "git://github.com/OWASP/threat-dragon.git"