Skip to content

Commit 98bbb76

Browse files
committed
last mile for github release for win
1 parent 934a3ae commit 98bbb76

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,22 @@ jobs:
121121
rm -rf "${RELEASE_DIR}"
122122
123123
124+
- name: Build release title
125+
id: rel-title
126+
run: |
127+
VERSION=$(mvn -q -DforceStdout help:evaluate -Dexpression=project.version)
128+
DATE=$(date +'%Y-%m-%d %H:%M')
129+
echo "TITLE=Hortonmachine-${VERSION} - SNAPSHOT release ${DATE}" >> $GITHUB_OUTPUT
124130
125131
- name: Upload bundle artifact
126132
uses: actions/upload-artifact@v4
127133
with:
128-
name: hortonmachine-${{ steps.ver.outputs.VERSION }}-bundle
134+
name: ${{ steps.rel-title.outputs.TITLE }}
135+
tag_name: ${{ github.ref_name }}
136+
body: |
137+
SNAPSHOT Release ${{ steps.ver.outputs.VERSION }} of the hortonmachine libs,
138+
run-ready for Windows users (bundled Java + SpatiaLite libs).
139+
Linux and macOS users will know what to do.
129140
path: extras/deploy/hortonmachine_${{ steps.ver.outputs.VERSION }}.tar.gz
130141

131142
- name: Attach bundle to GitHub Release

0 commit comments

Comments
 (0)