-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (34 loc) · 921 Bytes
/
Copy pathrelease.yml
File metadata and controls
39 lines (34 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: release
# Tag a release to build cross-platform binaries and publish them:
# git tag v0.1.0 && git push origin v0.1.0
on:
push:
tags: ['v*']
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0 # tags, for `git describe`
- uses: actions/setup-go@v6
with:
go-version: '1.26'
- uses: actions/setup-node@v6
with:
node-version: '22'
- name: Build + package all platforms
run: ./scripts/release.sh
env:
VERSION: ${{ github.ref_name }}
- name: Publish GitHub Release
uses: softprops/action-gh-release@v2
with:
draft: true
generate_release_notes: true
files: |
dist/coinrollhunter_*.tar.gz
dist/coinrollhunter_*.zip
dist/checksums.txt