Skip to content

Commit

Permalink
Change to manual version control (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
buzzy authored Sep 15, 2022
1 parent 45b0a87 commit 8224838
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/build.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Compile and Release

on:
workflow_dispatch:
inputs:
version:
type: string
description: Version for new release
required: true
default: 0.0.0

jobs:
compile:
name: Compile and Release
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '>=1.18.0'

- name: Compile and Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION="${{ github.event.inputs.version }}"
sed -i "s/0.0.0/${VERSION}/" main.go
bash build-all.sh $VERSION
gh release create v$VERSION --generate-notes ./bin/*.zip ./bin/*_SHA256SUMS

0 comments on commit 8224838

Please sign in to comment.