Skip to content

Commit b4441ab

Browse files
author
jon gadsden
committed
draft version 2.0.10 demo
1 parent 4797777 commit b4441ab

File tree

7 files changed

+23
-23
lines changed

7 files changed

+23
-23
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "threat-dragon",
3-
"version": "2.0.9",
3+
"version": "2.0.10",
44
"private": true,
55
"scripts": {
66
"build": "npm-run-all build:vue build:server",

release-process.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,40 @@ The steps used during the release process
44

55
1. `git clone git@github.com:OWASP/threat-dragon.git`
66
2. `cd threat-dragon`
7-
3. update version eg `"version": "2.0.9",`, in `package.json`, `td.site/package.json` and `td.server/package.json`
7+
3. update version eg `"version": "2.0.10",`, in `package.json`, `td.site/package.json` and `td.server/package.json`
88
4. update `buildState` in `td.vue/package.json` away from `-demo`, usually ''
99
5. `npm install`
1010
6. `npm run build`
1111
7. `npm test`
1212
8. `npm run test:vue`
1313
9. `git add --all; git status`
14-
10. `git commit -m"release version 2.0.9"`
14+
10. `git commit -m"release version 2.0.10"`
1515
11. `git push`
16-
12. tag the release `git tag v2.0.9`
17-
13. `git push origin v2.0.9`
16+
12. tag the release `git tag v2.0.10`
17+
13. `git push origin v2.0.10`
1818

1919
The github release workflow then creates the draft release and the install images
2020

2121
### Publish docker image
2222

2323
1. once tagged, the github workflow pushes the docker image to docker hub
24-
2. check using `docker pull threatdragon/owasp-threat-dragon:v2.0.9`
24+
2. check using `docker pull threatdragon/owasp-threat-dragon:v2.0.10`
2525
3. on MacOS M1 this command may need to be used:
26-
`docker pull --platform linux/x86_64 threatdragon/owasp-threat-dragon:v2.0.9`
26+
`docker pull --platform linux/x86_64 threatdragon/owasp-threat-dragon:v2.0.10`
2727
4. Test using the command to run a detached container:
28-
`docker run -d -p 8080:3000 -v $(pwd)/.env:/app/.env threatdragon/owasp-threat-dragon:v2.0.9`
28+
`docker run -d -p 8080:3000 -v $(pwd)/.env:/app/.env threatdragon/owasp-threat-dragon:v2.0.10`
2929
5. Ideally test this release on Windows, linux and MacOS using `http://localhost:8080/#/`
3030

3131
If the image tests correctly, promote the docker image
32-
from dockerhub `threatdragon/` to dockerhub `OWASP/threat-dragon/v2.0.9`.
32+
from dockerhub `threatdragon/` to dockerhub `OWASP/threat-dragon/v2.0.10`.
3333

3434
There is _no going back_ on this last step, so it is deliberately left as a manual task:
3535

3636
```text
37-
docker pull --platform linux/x86_64 threatdragon/owasp-threat-dragon:v2.0.9
38-
docker tag threatdragon/owasp-threat-dragon:v2.0.9 owasp/threat-dragon:v2.0.9
39-
docker push owasp/threat-dragon:v2.0.9
40-
docker pull owasp/threat-dragon:v2.0.9
37+
docker pull --platform linux/x86_64 threatdragon/owasp-threat-dragon:v2.0.10
38+
docker tag threatdragon/owasp-threat-dragon:v2.0.10 owasp/threat-dragon:v2.0.10
39+
docker push owasp/threat-dragon:v2.0.10
40+
docker pull owasp/threat-dragon:v2.0.10
4141
```
4242

4343
ensure the tag now exists within the OWASP Docker hub: `https://hub.docker.com/r/owasp/threat-dragon/tags`
@@ -46,7 +46,7 @@ ensure the tag now exists within the OWASP Docker hub: `https://hub.docker.com/r
4646

4747
Update the release notes for the draft in the [Threat Dragon release area][area]
4848
using the release notes using markdown provided by `.release-note-template.md` as a template,
49-
making sure to revise `2.x.x` to the correct version number such as `2.0.9`
49+
making sure to revise `2.x.x` to the correct version number such as `2.0.10`
5050

5151
Promote the release from draft to public once everything is in place
5252

td.server/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

td.server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "threat-dragon-server",
3-
"version": "2.0.9",
3+
"version": "2.0.10",
44
"private": true,
55
"scripts": {
66
"build": "npm-run-all clean:dist transpile",

td.vue/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

td.vue/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "threat-dragon",
33
"productName": "Threat Dragon",
4-
"version": "2.0.9",
4+
"version": "2.0.10",
55
"private": true,
66
"scripts": {
77
"build": "vue-cli-service build --no-unsafe-inline",
@@ -37,7 +37,7 @@
3737
},
3838
"license": "Apache-2.0",
3939
"homepage": "https://owasp.org/www-project-threat-dragon/",
40-
"buildState": "",
40+
"buildState": "-demo",
4141
"repository": {
4242
"type": "git",
4343
"url": "git://github.com/OWASP/threat-dragon.git"

0 commit comments

Comments
 (0)