Skip to content

Commit 77ec79d

Browse files
committed
remove duplicate in back-end test spec
1 parent 09463eb commit 77ec79d

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

release-process.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,20 @@ The github release workflow will then create the release candidate along with th
3131
Ensure the release candidate is announced on the [OWASP Threat Dragon][td-slack] slack channel
3232
and any other relevant channels
3333

34-
## Tag the release
34+
Reset the build state to 'latest'; this is displayed on the demo site:
35+
36+
1. revert `buildState` in `td.vue/package.json` back to `-latest`
37+
2. revert version, for example `"version": "2.3.0",`, in `td.vue/package.json`,
38+
in `package.json` and `td.server/package.json`
39+
3. ensure that the package-lock files are up to date using `npm install`
40+
4. `git add --all; git status`
41+
5. `git commit -m"set build version back to latest"`
42+
6. `git push`
43+
44+
45+
## Create the release
46+
47+
### Tag the release
3548

3649
After the releases candidate has been agreed by the Threat Dragon community, a release version can be prepared:
3750

@@ -233,12 +246,12 @@ and any other relevant channels such as [Blue Sky](https://bsky.app/profile/thre
233246

234247
### Tidy up
235248

236-
Reset the build state to 'latest'; this is displayed on the demo site:
249+
Revert the build state back to 'latest'; this build state is displayed on the demo site:
237250

238-
1. update `buildState` in `td.vue/package.json` away from "" to `-latest`
251+
1. update `buildState` in `td.vue/package.json` from "" to `-latest`
239252
2. ensure that the package-lock files are up to date using `npm install`
240253
3. `git add --all; git status`
241-
4. `git commit -m"set latest build version"`
254+
4. `git commit -m"set build version to latest"`
242255
5. `git push`
243256

244257
[altool]: https://successfulsoftware.net/2023/04/28/moving-from-altool-to-notarytool-for-mac-notarization/

td.server/test/test-setup.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ before(() => {
1111

1212
const threatDragon = new ThreatDragonEnv();
1313
env.get().addProvider(threatDragon);
14-
env.get().addProvider(threatDragon);
1514
env.get().hydrate();
1615

1716
chai.use(sinonChai);

0 commit comments

Comments
 (0)