Skip to content

Commit 9e3f64c

Browse files
author
jon gadsden
committed
release version 2.1.3
1 parent 870a00e commit 9e3f64c

File tree

7 files changed

+26
-26
lines changed

7 files changed

+26
-26
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.1.2",
3+
"version": "2.1.3",
44
"private": true,
55
"scripts": {
66
"audit": "npm-run-all -c audit:server audit:site",

release-process.md

Lines changed: 16 additions & 16 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.1.2",`, in `package.json`, `td.site/package.json` and `td.server/package.json`
7+
3. update version eg `"version": "2.1.3",`, 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.1.2"`
14+
10. `git commit -m"release version 2.1.3"`
1515
11. `git push`
16-
12. tag the release `git tag v2.1.2`
17-
13. `git push origin v2.1.2`
16+
12. tag the release `git tag v2.1.3`
17+
13. `git push origin v2.1.3`
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.1.2`
24+
2. check using `docker pull threatdragon/owasp-threat-dragon:v2.1.3`
2525
3. on MacOS M1 this command may need to be used:
26-
`docker pull --platform linux/x86_64 threatdragon/owasp-threat-dragon:v2.1.2`
26+
`docker pull --platform linux/x86_64 threatdragon/owasp-threat-dragon:v2.1.3`
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.1.2`
28+
`docker run -d -p 8080:3000 -v $(pwd)/.env:/app/.env threatdragon/owasp-threat-dragon:v2.1.3`
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.1.2`.
32+
from dockerhub `threatdragon/` to dockerhub `OWASP/threat-dragon/v2.1.3`.
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.1.2
38-
docker tag threatdragon/owasp-threat-dragon:v2.1.2 owasp/threat-dragon:v2.1.2
39-
docker push owasp/threat-dragon:v2.1.2
40-
docker pull owasp/threat-dragon:v2.1.2
37+
docker pull --platform linux/x86_64 threatdragon/owasp-threat-dragon:v2.1.3
38+
docker tag threatdragon/owasp-threat-dragon:v2.1.3 owasp/threat-dragon:v2.1.3
39+
docker push owasp/threat-dragon:v2.1.3
40+
docker pull owasp/threat-dragon:v2.1.3
4141
```
4242

4343
ensure the tag now exists within the OWASP Docker hub: `https://hub.docker.com/r/owasp/threat-dragon/tags`
@@ -51,9 +51,9 @@ ensure the tag now exists within the OWASP Docker hub: `https://hub.docker.com/r
5151
3.2 `grep sha512 latest-mac.yml | head -n 2 | tail -n 1 | cut -d ":" -f 2 | base64 -d | hexdump -ve '1/1 "%.2x"' >> checksum-mac.yml`
5252
3.3 `grep sha512 latest.yml | head -n 2 | tail -n 1 | cut -d ":" -f 2 | base64 -d | hexdump -ve '1/1 "%.2x"' >> checksum.yml`
5353
4. Confirm SHA512 with:
54-
4.1 `sha512sum Threat-Dragon-ng-2.1.1.AppImage`
55-
4.2 `sha512sum Threat-Dragon-ng-2.1.1.dmg`
56-
4.3 `sha512sum Threat-Dragon-ng-Setup-2.1.1.exe`
54+
4.1 `sha512sum Threat-Dragon-ng-2.1.3.AppImage`
55+
4.2 `sha512sum Threat-Dragon-ng-2.1.3.dmg`
56+
4.3 `sha512sum Threat-Dragon-ng-Setup-2.1.3.exe`
5757
5. upload `checksum*.yml` files
5858

5959
### Check demo site
@@ -67,7 +67,7 @@ ensure the tag now exists within the OWASP Docker hub: `https://hub.docker.com/r
6767

6868
Update the release notes for the draft in the [Threat Dragon release area][area]
6969
using the release notes using markdown provided by `.release-note-template.md` as a template,
70-
making sure to revise `2.x.x` to the correct version number such as `2.1.2`
70+
making sure to revise `2.x.x` to the correct version number such as `2.1.3`
7171

7272
Promote the release from draft to public once everything is in place
7373

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.1.2",
3+
"version": "2.1.3",
44
"private": true,
55
"scripts": {
66
"audit": "npm audit",

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.1.2",
4+
"version": "2.1.3",
55
"private": true,
66
"scripts": {
77
"audit": "npm audit",
@@ -38,7 +38,7 @@
3838
},
3939
"license": "Apache-2.0",
4040
"homepage": "https://owasp.org/www-project-threat-dragon/",
41-
"buildState": "-latest",
41+
"buildState": "",
4242
"repository": {
4343
"type": "git",
4444
"url": "git://github.com/OWASP/threat-dragon.git"

0 commit comments

Comments
 (0)