Mislav Marohnić
1464a8a0f3
Generate release notes using the new API
...
https://docs.github.com/en/rest/reference/repos#generate-release-notes-content-for-a-release
2021-10-14 20:22:38 +02:00
Mislav Marohnić
2f45173370
Publish docs site using a deploy key instead of PAT
...
I'd like to decommission SITE_GITHUB_TOKEN as it's a PAT that has write
access to all my `github/*` repositories. Instead, I've created a deploy
key that only has access to `github/cli.github.com`.
ssh-keygen -t ed25519 -C "gh docs push" -N "" -f ~/.ssh/gh-docs-publish
gh repo -R github/cli.github.com deploy-key add ~/.ssh/gh-docs-publish.pub
# testing:
GIT_SSH_COMMAND='ssh -i $HOME/.ssh/gh-docs-publish' git push ...
2021-09-13 16:30:40 +02:00
Mislav Marohnić
eb78ac0dcb
Require Go 1.16+
2021-08-23 18:08:09 +02:00
Mislav Marohnić
5a46c1cab6
Merge pull request #4043 from cli/upgrade-goreleaser
...
This reverts commit 85d0447 .
2021-07-28 21:07:29 +02:00
Mislav Marohnić
85d0447a6e
Revert "Update GoReleaser to v0.172.1"
2021-07-20 21:39:50 +02:00
chemotaxis
ab675a33f3
Upgrade GoReleaser
...
Now that the config file is updated, upgrade from v0.169.0 to v0.172.1.
2021-07-01 18:41:13 -04:00
vilmibm
3cc4c40dcb
pin goreleaser version
2021-06-29 13:52:10 -05:00
Vishesh Gupta
4d20aa7873
Merge pull request #3801 from Vishesh-Gupta/automate-winget-release
...
Automate packaging for Winget
2021-06-18 15:56:58 +02:00
vilmibm
2d704ba591
bonus: support sid
2021-05-19 16:51:58 -05:00
Mislav Marohnić
068ad31c14
Add support for new Ubuntu, Kali linux ( #3645 )
...
Co-authored-by: vilmibm <vilmibm@neongrid.space>
2021-05-18 08:11:47 +02:00
Mislav Marohnić
adbfb6e8de
Merge pull request #3638 from cli/release-discussion
...
Create a Release Discussion on every new release
2021-05-17 15:37:39 +02:00
vilmibm
7479b3834d
use volume to avoid having to rebuild
2021-01-27 10:58:54 -08:00
vilmibm
773c8b3923
no longer try and install createrepo
2021-01-27 10:58:08 -08:00
vilmibm
6ef5248d21
cp -r instead of mv
2021-01-26 17:08:08 -08:00
vilmibm
39628a4354
use new docker-based script
2021-01-26 16:53:00 -08:00
Mislav Marohnić
fe9d390af0
Update deprecated set-env and add-path
...
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-10-06 15:57:08 +02:00
Mislav Marohnić
4bfde21b1b
Fix moving all "Pending release" project cards to the "Done" column
...
Previously only the first 30 project cards were moved.
2020-10-06 15:48:03 +02:00
Mislav Marohnić
01bd0dce5e
fix hub release download
2020-10-06 15:01:59 +02:00
Mislav Marohnić
70412ef06a
Add trailing newline
2020-10-02 17:48:40 +02:00
Mislav Marohnić
419566345b
Fix bumping the Homebrew formula
...
The gh formula in homebrew-core went back and forth between git-style
and tarball-style. Now that it's back to tarball, update the action to
reflect that.
2020-10-01 19:10:30 +02:00
Mislav Marohnić
4bf2e513c7
Use default token for Goreleaser action
...
Now that Goreleaser doesn't need to update any external repositories, we
can use the default generated GITHUB_TOKEN for releases.
2020-10-01 19:09:46 +02:00
Mislav Marohnić
0a17259e3c
Bump scoop bucket manually on release
...
Goreleaser can no longer do this for us since we're always creating a
draft release initially.
2020-10-01 19:09:14 +02:00
vilmibm
74665b213a
support more ubuntus
2020-09-17 14:18:06 -05:00
vilmibm
f46ebf9cea
support more debians
2020-09-16 12:47:16 -05:00
vilmibm
e59431eeef
more ubuntus
2020-09-08 16:26:25 -05:00
Mislav Marohnić
a983131479
Exercise most of the release process on prereleases
...
- deb and rpm packages are now built for prereleases
- consolidate setup for deb & rpm
- man pages are generated for prereleases
- the `cli.github.com` site is only pushed to on full releases
Bonus:
- only publish the GitHub release after the Windows MSI is uploaded
- hub does not need downloading
2020-09-07 16:11:27 +02:00
vilmibm
894be03923
linux repo creation
2020-09-03 13:47:48 -05:00
Shoma Okamoto
06b579c976
update go version
2020-08-13 22:22:27 +09:00
Mislav Marohnić
4757540bdf
Align bump-homebrew-formula config for updated formula format
2020-07-31 19:47:13 +02:00
Davor Kapsa
27026d738a
Update releases.yml
2020-06-09 14:35:44 +02:00
vilmibm
d800e3f0b6
rely on environment
2020-05-18 15:07:28 -05:00
Mislav Marohnić
0eb471899a
Upgrade to Go 1.14 in CI
2020-05-07 21:03:42 +02:00
Nate Smith
3d13adc46f
Merge pull request #820 from cli/goreleaser-current-tag
...
Help goreleaser find the correct git tag during release
2020-04-28 10:29:54 -05:00
Mislav Marohnić
cd93e5643c
Help goreleaser find the correct git tag during release
2020-04-23 13:04:40 +02:00
Mislav Marohnić
60a67b852a
Automatically generate site docs on release
2020-04-22 15:59:44 +02:00
Mislav Marohnić
b8ecf1fab5
Bump homebrew formula immediately after release
2020-04-22 15:16:24 +02:00
Mislav Marohnić
4e393fdab4
Avoid intermittent CI failures while setting up Go
...
Switch to `actions/setup-go@v2-beta` which advertises better retries
around downloading the Go version
2020-04-13 17:15:59 +02:00
Mislav Marohnić
1179618e9a
Configure bump-homebrew-formula action for homebrew-core
2020-03-18 20:30:02 +01:00
vilmibm
26c799e2ea
use function not env var
2020-03-03 15:52:26 -06:00
vilmibm
17e690e093
hopefully fix if
2020-03-03 15:48:31 -06:00
vilmibm
11424e0ed0
step not job
2020-03-03 15:46:32 -06:00
vilmibm
cc9f58afee
upon release move Pending Release project cards into Done column
2020-03-02 16:06:27 -06:00
Mislav Marohnić
c32bcee4bb
No need to configure production OAuth app on release anymore
2020-02-18 19:31:18 +01:00
Mislav Marohnić
7232bdd7ee
Retire copy-release-to-another-repo action
2020-01-29 16:13:07 +01:00
Mislav Marohnić
10d46fe869
Consistently use checkout@v2
2020-01-29 15:28:06 +01:00
Mislav Marohnić
bc40514506
Simplify building the MSI installer
...
Now that there is a ZIP archive to download, to avoid the complexities
of unzipping through Node.js we use hub to download the `.zip`, extract
it, and eventually upload the `.msi` back to the release.
2020-01-29 15:23:05 +01:00
Mislav Marohnić
7a1ae751de
Use goreleaser to bump Homebrew formula
2020-01-29 14:00:25 +01:00
Mislav Marohnić
a34d07aecb
Improve .msi asset handling in upload-msi action
...
- Allow .msi file to be specified via input to action
- Delete obsolete .exe file after uploading .msi
2020-01-09 15:02:48 +01:00
Mislav Marohnić
2053809436
Merge pull request #201 from github/cleanup-scripts
...
Cleanup release scripts
2020-01-08 17:22:46 +01:00
Mislav Marohnić
0639ef8445
Cleanup unnecessary workflow bits
2020-01-08 17:17:40 +01:00