Skip to content

Commit 5f0ee48

Browse files
committed
version 1.5.0
1 parent e1b9e44 commit 5f0ee48

File tree

4 files changed

+36
-3
lines changed

4 files changed

+36
-3
lines changed

.github/workflows/build-snap.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build Snap Package
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Build snap
17+
uses: snapcore/action-build@v1
18+
id: snapcraft
19+
20+
- name: Upload snap artifact
21+
uses: actions/upload-artifact@v4
22+
with:
23+
name: snap-package
24+
path: ${{ steps.snapcraft.outputs.snap }}
25+
26+
- name: Release snap
27+
uses: softprops/action-gh-release@v1
28+
if: startsWith(github.ref, 'refs/tags/')
29+
with:
30+
files: ${{ steps.snapcraft.outputs.snap }}
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ java -cp bin wagemaker.co.uk.main.Launcher
5555

5656
## Links
5757

58+
- Home: https://gcclinux.github.io/smalltextpad/
5859
- Project: https://github.com/gcclinux/smalltextpad
5960
- Latest releases: https://github.com/gcclinux/smalltextpad/releases/latest
6061

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
title: SmallTextPad
22
description: A lightweight Java text editor with encryption and multi-language support
33
theme: jekyll-theme-cayman
4-
show_downloads: false
4+
show_downloads: true
55
plugins:
66
- jekyll-seo-tag
77
- jekyll-sitemap

package.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jar cfm classes/artifacts/SmallTextPad.jar src/META-INF/MANIFEST.MF -C bin . -C
2828
echo "[run] Now testing newly created SmallTextPad.jar"
2929
java -jar classes/artifacts/SmallTextPad.jar
3030

31-
# echo "[run] Now creating smalltextpad_<version>_amd64.snap in the current directory"
32-
# snapcraft pack --output=classes/artifacts/smalltextpad_$(grep '^version:' snap/snapcraft.yaml | awk '{print $2}' | tr -d "'")_amd64.snap
31+
echo "[run] Now creating smalltextpad_<version>_amd64.snap in the current directory"
32+
snapcraft pack --output=classes/artifacts/smalltextpad_$(grep '^version:' snap/snapcraft.yaml | awk '{print $2}' | tr -d "'")_amd64.snap
3333

3434

3535

0 commit comments

Comments
 (0)