Skip to content

Commit b2b3617

Browse files
committed
Add Checksum
1 parent 0c52e21 commit b2b3617

3 files changed

Lines changed: 38 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,27 @@ jobs:
9191
fi
9292
done
9393
94+
- name: Generate SHA256 checksums
95+
run: |
96+
cd release
97+
sha256sum * > SHA256SUMS
98+
99+
- name: Extract release notes from CHANGELOG
100+
id: changelog
101+
run: |
102+
VERSION=${GITHUB_REF#refs/tags/}
103+
104+
awk "/^## ${VERSION}/{flag=1; next} /^## /{flag=0} flag" CHANGELOG.md > RELEASE_NOTES.md
105+
106+
echo "RELEASE_BODY<<EOF" >> $GITHUB_OUTPUT
107+
cat CHANGELOG.md >> $GITHUB_OUTPUT
108+
echo "EOF" >> $GITHUB_OUTPUT
109+
94110
- name: Create Release
95111
uses: softprops/action-gh-release@v2
96112
with:
113+
name: Release ${{ github.ref_name }}
97114
files: release/*
115+
body: ${{ steps.changelog.outputs.RELEASE_BODY }}
98116
env:
99117
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Makefile for finder
22
#
33

4+
# Standard run
5+
all: build
6+
7+
# Build the Program in Debug Mode
48
build:
59
go build ./cmd/finder
610

11+
# Build a Release
712
release:
8-
go build -ldflags="-s -w -X ./cmd/finder
13+
go build -ldflags="-s -w -X" ./cmd/finder
914

15+
# Install the program
1016
install:
1117
$(MAKE) release
1218
sudo mv finder /usr/local/bin/finder

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<!--
22
go build ./cmd/finder
3+
4+
Push Tag
5+
git tag v0.3.7
6+
git push origin v0.3.7
7+
8+
Maybe
9+
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/shadowdara/finder?logo=github)
10+
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-pr/shadowdara/finder?logo=github)
11+
312
-->
413

514
# finder
@@ -10,7 +19,9 @@ go build ./cmd/finder
1019
[![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/shadowdara/finder)](https://github.com/shadowdara/finder/commits)
1120
[![GitHub all releases](https://img.shields.io/github/downloads/shadowdara/finder/total?logo=github)](https://github.com/shadowdara/finder/releases)
1221
[![GitHub release (with filter)](https://img.shields.io/github/v/release/shadowdara/finder?logo=github)](https://github.com/shadowdara/finder/releases)
13-
22+
[![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/shadowdara/finder?logo=github)](https://github.com/shadowdara/finder.git)
23+
![GitHub Repo stars](https://img.shields.io/github/stars/shadowdara/finder)
24+
![GitHub forks](https://img.shields.io/github/forks/shadowdara/finder)
1425

1526
Finder is a small command-line tool written in Go to locate projects
1627
based on predefined folder/file structure templates.
@@ -166,13 +177,12 @@ the prototype for finder.
166177

167178
## Info Video
168179

169-
[![INFO Video about Finder](https://www.youtube.com/watch?v=oIRgAYv-mOA)](https://www.youtube.com/watch?v=oIRgAYv-mOA)
180+
[![INFO Video 1 about Finder](https://img.youtube.com/vi/oIRgAYv-mOA/0.jpg)](https://www.youtube.com/watch?v=oIRgAYv-mOA)
170181

171182
<!--
172183
173184
TODO
174185
175-
- Fix Build Workflow
176186
- Fix Issue and PR Templates
177187
178188
-->

0 commit comments

Comments
 (0)