Trying to get the workflow working.
This commit is contained in:
parent
b20f477389
commit
5590679cb4
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
|
@ -44,21 +44,3 @@ jobs:
|
|||
repository: xxxserxxx/gotop-builder
|
||||
event-type: my-release
|
||||
client-payload: '{"tag": "${{ steps.tag_name.outputs.tag }}"}'
|
||||
|
||||
- name: Update current release badge
|
||||
shell: bash
|
||||
run: sed -i "s/v[0-9]*\.[0-9]*\.[0-9]*/${{steps.tag_name.outputs.tag}}/g" docs/release.svg
|
||||
|
||||
- name: Commit current release badge
|
||||
uses: stefanzweifel/git-auto-commit-action@v4.1.0
|
||||
with:
|
||||
branch: 'master'
|
||||
commit_message: Update release badge to version "${{ steps.tag_name.outputs.tag }}"
|
||||
|
||||
# Optional glob pattern of files which should be added to the commit
|
||||
file_pattern: docs/release.svg
|
||||
|
||||
# Optional commit user and author settings
|
||||
commit_user_name: Badge Updater
|
||||
commit_user_email: ser@ser1.net
|
||||
commit_author: Badge Updater <ser@ser1.net>
|
||||
|
|
|
@ -12,7 +12,7 @@ Join us in [\#gotop:matrix.org](https://riot.im/app/#/room/#gotop:matrix.org) ([
|
|||
![](https://github.com/xxxserxxx/gotop/workflows/Build%20Go%20binaries/badge.svg)
|
||||
![](https://github.com/xxxserxxx/gotop/workflows/Create%20pre-release/badge.svg)
|
||||
|
||||
<div align="center">Current release: <a href="https://github.com/xxxserxxx/gotop/releases/tag/v4.0.0">v4.0.0</a></div>
|
||||
<div id="release" align="center">Current release: <a href="https://github.com/xxxserxxx/gotop/releases/tag/v4.0.0">v4.0.0</a></div>
|
||||
|
||||
See the [mini-blog](https://github.com/xxxserxxx/gotop/wiki/Micro-Blog) for updates on the build status, and the [change log](/CHANGELOG.md) for release updates.
|
||||
|
||||
|
|
|
@ -2,13 +2,16 @@
|
|||
|
||||
1. Update Version in main.go
|
||||
2. Update CHANGELOG.md
|
||||
4. Tag
|
||||
5. Push everything
|
||||
6. When the github workflows complete, finish the draft release and publish.
|
||||
7. Wait for the [AUR](https://github.com/xxxserxxx/gotop-linux] project to finish building.
|
||||
3. Tag
|
||||
4. Push everything
|
||||
5. Wait for the github workflows to complete
|
||||
6. Download and verify the correct version of one of the binaries
|
||||
7. Finish the draft release and publish.
|
||||
8. Check gotop-builder for a successful everything build; if successful, publish.
|
||||
10. Wait for the [AUR](https://github.com/xxxserxxx/gotop-linux] project to finish building.
|
||||
1. update arch (gotop-linux) and run `aurpublish aur` and `aurpublish aur-bin`
|
||||
2. notify Nix
|
||||
3. notify Homebrew
|
||||
11. Notify Nix
|
||||
12. Notify Homebrew
|
||||
|
||||
The AUR project still needs secret credentials to aurpublish to the AUR
|
||||
repository, so the final publish step is still currently manual.
|
||||
|
@ -29,11 +32,4 @@ Nix adds new and interesting complexities to the release.
|
|||
3. `cd /mnt`
|
||||
8. install & run vgo2nix to update deps.nix
|
||||
7. `nix-build -A gotop`
|
||||
8. When it fails, copy the hash and update the
|
||||
|
||||
|
||||
For plugin development:
|
||||
```
|
||||
V=$(git show -s --format=%cI HEAD | cut -b -19 | tr -cd '[:digit:]')-$(git rev-parse HEAD | cut -b -12)
|
||||
go build -ldflags "-X main.Version=$V" -o gotop ./cmd/gotop
|
||||
```
|
||||
8. When it fails, ...
|
||||
|
|
Loading…
Reference in New Issue
Block a user