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: README.md
+6-16
Original file line number
Diff line number
Diff line change
@@ -154,22 +154,12 @@ We are making releases available as GitHub releases using [go-releaser](https://
154
154
155
155
To make a release:
156
156
1. Set the version number in the constant `version` in the file `cmd/root.go`. The version will be shown with the command `rx --version`
157
-
2. Ensure there is no `dist` folder in the project (left from previous release)
158
-
3. Get the [personal access token](https://github.com/settings/tokens) - with access to repository and `write:packages` scope, and with enabled SSO for organisation (or create it)
159
-
4. Login to the docker repository with your user-name, using personal access token as a password (personal user=name/password authentication is or will be deprecated)
160
-
```
161
-
docker login ghcr.io -u USER_NAME
162
-
```
163
-
5. Run the command to create a version with a tag, build a docker image and push them to GitHub repository
164
-
```
165
-
GITHUB_TOKEN=<PERSONAL_ACCESS_TOKEN> make release VERSION=0.0.1 RELEASE_NOTE="<Release notes>"
166
-
```
167
-
6. If something goes wrong:
168
-
- open the GitHub repository and delete [created tag](https://github.com/equinor/radix-cli/releases/) (with release)
169
-
- delete it locally ` git tag -d v0.0.1`
170
-
- reset changes `git reset --hard`
171
-
- delete the `dist` folder
172
-
- perform the previous step `make release ...` again
157
+
2. Create and push the new version as a tag: `git tag v0.0.1` and `git push origin v0.0.1`
158
+
3. If something goes wrong:
159
+
- open the GitHub repository and delete [created tag](https://github.com/equinor/radix-cli/tags/) (with release)
160
+
- delete it locally ` git tag -d v0.0.1`
161
+
- reset changes `git reset --hard`
162
+
- tag the commit againg and push: `git tag v0.0.1` and `git push origin v0.0.1`
173
163
174
164
To generate a local version for debugging purposes, it can be built using:
0 commit comments