-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
694 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ For example if RC1, but change for RC2 and so on : | |
|
||
1. `git clone [email protected]:OWASP/threat-dragon.git` | ||
2. `cd threat-dragon` | ||
3. update version, for example `"version": "2.3.0",`, in `td.vue/package.json` | ||
4. ensure `buildState` in `td.vue/package.json` is `-RC1` | ||
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 `` | ||
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` | ||
|
@@ -133,9 +133,10 @@ and any other relevant channels | |
### Manually notarize / staple for MacOS images | ||
|
||
It used to be that [altool][altool] could be used to notarize the MacOS `.dmg` files in the pipeline. | ||
As of early 2024 this is no longer available and [notarytool][notarize] must be used in a secure environment. | ||
Used in [the pipeline][notarytool], it can also be done/checked manually: | ||
As of early 2024 this is no longer available and [notarytool][notarytool] must be used in a secure environment. | ||
The secrets for both signing and notarization can be checked by running it manually from the command line: | ||
|
||
- provide the [code signing certs for MacOS][certs] | ||
- Download both x86 and arm64 images for the MacOS installer (`*.dmg`) | ||
- ensure that the apple developer [environment is set up][notarize] | ||
- notarize and staple, for example with version 2.3.0: | ||
|
@@ -158,6 +159,7 @@ Token used in the Threat Dragon pipeline as 'SNAPCRAFT_TOKEN', use command to re | |
|
||
[altool]: https://successfulsoftware.net/2023/04/28/moving-from-altool-to-notarytool-for-mac-notarization/ | ||
[area]: https://github.com/OWASP/threat-dragon/releases | ||
[certs]: https://federicoterzi.com/blog/automatic-code-signing-and-notarization-for-macos-apps-using-github-actions/ | ||
[heroku]: https://id.heroku.com/login | ||
[herokucli]: https://devcenter.heroku.com/articles/heroku-cli#install-the-heroku-cli | ||
[herokudash]: https://dashboard.heroku.com/apps | ||
|
Oops, something went wrong.