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: OpenSC-Release-Howto.md
+20-7
Original file line number
Diff line number
Diff line change
@@ -106,13 +106,6 @@ Optionally, discuss changes to _NEWS_ by opening a [new issue](https://github.co
106
106
* In case of security relevant changes, forward the announcement to [[email protected]](https://www.openwall.com/lists/oss-security/)
107
107
* Update the [Main Wiki page](https://github.com/OpenSC/OpenSC/wiki) with links to new release
108
108
109
-
## Clean up old nightly builds repository
110
-
111
-
* The repository [OpenSC/Nightly](https://github.com/OpenSC/Nightly) is used to hold nightly builds for both MacOS and Windows.
112
-
* They are pushed on every master commit so the old builds need to be cleaned up regularly.
113
-
* Ideally after the new release is done, any old branch before last release can be removed through the github web UI on [OpenSC/Nightly/branches/stale](https://github.com/OpenSC/Nightly/branches/stale).
114
-
* For more info, see the [related issues](https://github.com/OpenSC/Nightly/issues/1)
115
-
116
109
## Releasing patch versions of OpenSC
117
110
118
111
* Happens on exceptional basis only when fixing significant problems.
@@ -179,3 +172,23 @@ Optionally, discuss changes to _NEWS_ by opening a [new issue](https://github.co
179
172
6. Wait for [artifacts to build](#build-and-test-binaries)
180
173
7. [Create a new release](#build-and-test-binaries)
181
174
8. Write [announcement](#announcement)
175
+
176
+
## Maintenance tasks
177
+
178
+
### Clean up old nightly builds repository
179
+
180
+
* The repository [OpenSC/Nightly](https://github.com/OpenSC/Nightly) is used to hold nightly builds for both MacOS and Windows.
181
+
* They are pushed on every master commit so the old builds need to be cleaned up regularly.
182
+
* Ideally after the new release is done, any old branch before last release can be removed through the github web UI on [OpenSC/Nightly/branches/stale](https://github.com/OpenSC/Nightly/branches/stale).
183
+
* For more info, see the [related issues](https://github.com/OpenSC/Nightly/issues/1)
184
+
185
+
### Refreshing access tokens
186
+
187
+
There are two access tokens that are used by CI to push artifacts to the Nightly repository. One from Github
188
+
Actions and one from AppVeyor. Their expiration can be checked on the
* When they expire, the new need tokens need to be generated in [user settings](https://github.com/settings/tokens?type=beta).
192
+
* Both tokens need _Read_ and _Write_ access to code and _Read_ access to metadata in OpenSC/Nightly repository.
193
+
* The Github Actions token needs to be inserted into the [OpenSC repository secrets](https://github.com/OpenSC/OpenSC/settings/secrets/actions).
194
+
* The AppVeyor token needs to be encrypted using [AppVeyor website](https://ci.appveyor.com/account/frankmorgner/tools/encrypt) and updated in the `.appveyor.yml`forexample like donein [#3230](https://github.com/OpenSC/OpenSC/pull/3230).
0 commit comments