Skip to content

Commit fd50a84

Browse files
committed
Add release CI
Add release CI Signed-off-by: Bensuperpc <[email protected]>
1 parent b587a75 commit fd50a84

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.github/workflows/release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "tagged-release"
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
workflow_dispatch:
8+
9+
jobs:
10+
tagged-release:
11+
name: "Tagged Release"
12+
runs-on: "ubuntu-latest"
13+
14+
steps:
15+
- name: "📥 Checkout Code"
16+
uses: actions/[email protected]
17+
with:
18+
submodules: 'recursive'
19+
fetch-depth: 0
20+
- name: "✅ Check bash syntax"
21+
run: sudo make check
22+
- name: "🛠️ Install"
23+
run: sudo make install
24+
- name: "🧹 Uninstall"
25+
run: sudo make uninstall
26+
- name: "🛠️ build package"
27+
run: sudo make dist
28+
- uses: "marvinpinto/action-automatic-releases@latest"
29+
with:
30+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
31+
prerelease: false
32+
files: |
33+
LICENSE.txt
34+
*.7z

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#//////////////////////////////////////////////////////////////
2020
PROJECT_NAME := scripts
2121
SHELL := bash
22-
VERSION := 1.0
22+
VERSION := 1.0.0
2323

2424
all: check install
2525

0 commit comments

Comments
 (0)