You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/release-guide.md
+38-9
Original file line number
Diff line number
Diff line change
@@ -73,30 +73,59 @@ For details look at `.gitlab-ci.yml`
73
73
74
74
## MacOS
75
75
76
-
Ideally, directly after the tag is created, start with the MacOS release. This has to be done manually, for now. There is a script for this:
76
+
Ideally, directly after the tag is created, start with the MacOS release. As the binaries of x86/arm64 are not compatible with each other, we need to build on two MacOS architectures.This has to be done manually, for now. There is a script for this. Start with the build on x86:
This script also runs `github.py upload `, so two more binares and the hash and signature files are uploaded to GitHub:
98
+
This will create three artifacts on github:
99
+
* Specter-v2.0.5-pre4.dmg
100
+
* specterd-v2.0.5-pre4-osx_arm64.zip
101
+
* SHA256SUMS-macos_arm64
102
+
* SHA256SUMS-macos_arm64.asc
83
103
84
-
- Specter-v1.13.1.dmg
85
-
- specterd-v1.13.1-osx.zip
86
-
- SHA256SUMS-macos
87
-
- SHA256SUMS-macos.asc
88
104
89
105
## GitLab - post releasing
90
106
91
107
Back to GitLab, the final stage is "post releasing".
92
108
93
-
In this stage, the invididual SHA256-hashes and signatures are combined into two final files:
109
+
### release_signatures
110
+
111
+
In this job, the individual SHA256-hashes and signatures are combined into two final files:
94
112
95
113
- SHA256SUMS
96
114
- SHA256SUMS.asc
97
115
98
116
Everything, apart from the MacOS files, are pulled from the GitLab environment, the MacOS files from GitHub.
99
-
Don't forget to delete the two MacOS files (`SHA256SUMS-macos` and `SHA256SUMS-macos.asc`) on the GitHub release page in the end.
117
+
Don't forget to delete the four MacOS files (`SHA256SUMS-macos_arm64` and `SHA256SUMS-macos_arm64.asc` and the two corresponding `_x64` files) on the GitHub release page in the end.
118
+
119
+
This is difficult to automate as sometimes the manual steps has not succeeded while generating the SHASUM-files. As a result, those hashes are not included. So you might want to run this again. And you can, just delete the two generated files - `SHA256SUMS` and `SHA256SUMS.asc` and run the job again.
120
+
121
+
### release_docker
122
+
123
+
There are docker images created by the awesome [Chiang Mai LN dev](https://github.com/lncm/docker-specter-desktop). So the task of this job is to trigger their build-system which is done via `utils/trigger_docker_build.sh`. A prerequisite of this is a token in order to authenticate. That token is from Aaron, one of the maintainers of that repo, and can be found in the gitlab variables section of the CI/CD configuration.
124
+
125
+
### tag_specterext_dummy_repo
126
+
127
+
Sometimes there are changes on the plugin architecture. In order to create a plugin, it's quite important to know which version of the plugin system should be used. Because of that, we simply assume that the master of the [specterext-dummy](https://github.com/cryptoadvance/specterext-dummy) repo is compatible with the current master which was just tagged with the new version.
128
+
So this job will tag that repo with the same tag and the creation of a plugin will take the version into account.
0 commit comments