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
Add ability to make manual releases with goreleaser (#303)
* Adding goreleaser
* Adding release to fork
* Add windows build
* Move to publish .zip for windows
* Change owner
Co-authored-by: Lawrence Gripper <info@grippers.co.uk>
* Add documentation
Co-authored-by: Lawrence Gripper <info@grippers.co.uk>
Co-authored-by: Nicholas M. Iodice <niiodice@microsoft.com>
Copy file name to clipboardExpand all lines: docs/contributing.md
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -453,6 +453,32 @@ Azure DevOps has a rich set of [REST API's](https://docs.microsoft.com/en-us/res
453
453
454
454
If you find an api is missing from the postman collection, please submit a PR. We intend make the collection as complete as possible over time.
455
455
456
+
## 8. Creating a release
457
+
458
+
You can create a github release of this project or a fork of this project using goreleaser. The gorelease will create binaries for Mac, Linux and Windows based of the fork you're making the release from.
459
+
To be able to make the release you need to have the required permissions to create a release for this project or a fork.
460
+
461
+
> To make the release for your fork change the `owner` in `.goreleaser.yml` to be the name of the account holding the fork.
462
+
463
+
Making the release:
464
+
1. Open this project in the dev container or [install gorelaser](https://goreleaser.com/install/)
465
+
1. Create a Github PAT token with all of the `Repo` permissions
466
+
1. Set `GITHUB_TOKEN` enviorment variable to the above PAT token
467
+
```bash
468
+
export GITHUB_TOKEN=<Your PAT token>
469
+
```
470
+
1. Set the release version you would like to create
471
+
```bash
472
+
RELEASE_VERSION="v0.1.7"
473
+
```
474
+
1. Create
475
+
```bash
476
+
git tag $RELEASE_VERSION&& ./bin/goreleaser release --rm-dist
477
+
478
+
```
479
+
480
+
> More information about using goreleaser here: https://goreleaser.com/
481
+
456
482
# Note about CLA
457
483
458
484
This project welcomes contributions and suggestions. Most contributions require you to agree to a
0 commit comments