Skip to content

v2.4.5-rc with frontend #14

v2.4.5-rc with frontend

v2.4.5-rc with frontend #14

Workflow file for this run

name: Build Release
on:
push:
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get version
id: get_version
run: echo "{VERSION}={${GITHUB_REF/refs\/tags\//}}" >> $GITHUB_OUTPUT
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: ./script/build.sh
- name: MakeRelease
id: make_release
run: ./script/makerelease.sh
- name: LoadReleaseNote
if: startsWith(github.ref, 'refs/tags/')
run: cat ./release-note/${{ steps.get_version.outputs.VERSION }}.md > Release.txt
- name: Test
if: startsWith(github.ref, 'refs/tags/')
run: cat Release.txt
- name: BuildRelease
id: build_release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: Release.txt
files: gophercron-linux-amd64.tar.gz