@@ -4,40 +4,40 @@ The steps used during the release process
44
551 . ` git clone git@github.com:OWASP/threat-dragon.git `
662 . ` 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 `
884 . update ` buildState ` in ` td.vue/package.json ` away from ` -demo ` , usually ''
995 . ` npm install `
10106 . ` npm run build `
11117 . ` npm test `
12128 . ` npm run test:vue `
13139 . ` 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 " `
151511 . ` 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
1919The github release workflow then creates the draft release and the install images
2020
2121### Publish docker image
2222
23231 . 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 `
25253 . 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 `
27274 . 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 `
29295 . Ideally test this release on Windows, linux and MacOS using ` http://localhost:8080/#/ `
3030
3131If 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
3434There 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
4343ensure 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
4747Update the release notes for the draft in the [ Threat Dragon release area] [ area ]
4848using 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
5151Promote the release from draft to public once everything is in place
5252
0 commit comments