forked from reclaim-the-stack/k
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 900 Bytes
/
create-release.yaml
File metadata and controls
31 lines (28 loc) · 900 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
on:
push:
branches:
- master
- test-release
paths:
- k
- k_pg_proxy
- .github/workflows/create-release.yaml
name: Create Release
permissions:
contents: write
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: .github/create-release
- uses: benjlevesque/short-sha@v2.2
id: short-sha
- uses: softprops/action-gh-release@v1
with:
files: dist/*.tar.gz
tag_name: ${{ github.run_id }}-${{ steps.short-sha.outputs.sha }}
body: |
Use this release by downloading and extracting the tarball appropriate to your platform and running the `k` executable. You may also add the directory containing the `k` executable to your `PATH` for convenience.
draft: ${{ github.ref == 'refs/heads/test-release' }}
prerelease: false