Skip to content

Commit

Permalink
ci: add release workflow
Browse files Browse the repository at this point in the history
ci: update workflows

ci: update workflows
  • Loading branch information
cyunrei committed Feb 29, 2024
1 parent 20d649e commit 9e5ad48
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Makefile Release
run: make release

- name: Github Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
files: |
build/portbridge*.tar.gz
build/portbridge*.sha256
generate_release_notes: true

0 comments on commit 9e5ad48

Please sign in to comment.