Skip to content

Commit 6bc63e9

Browse files
ppdphkahler
authored andcommitted
snap: Fetch tags for snap builds in CI & mention stable channel in README
The snaps use git describe to determine their grade (stable/devel). Fetch the tags to make this possible. Point users to the official release in the stable channel in README.md.
1 parent 0eab7f7 commit 6bc63e9

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ jobs:
118118
runs-on: ubuntu-latest
119119
steps:
120120
- uses: actions/checkout@v2
121+
- name: Fetch Tags
122+
run: git fetch --force --tags
121123
- name: Set Up Source
122124
run: rsync --filter=":- .gitignore" -r ./ pkg/snap/solvespace-snap-src
123125
- name: Build Snap
@@ -149,6 +151,8 @@ jobs:
149151
with:
150152
image: tonistiigi/binfmt@sha256:df15403e06a03c2f461c1f7938b171fda34a5849eb63a70e2a2109ed5a778bde
151153
- uses: actions/checkout@v2
154+
- name: Fetch Tags
155+
run: git fetch --force --tags
152156
- name: Set Up Source
153157
run: rsync --filter=":- .gitignore" -r ./ pkg/snap/solvespace-snap-src
154158
- name: Build Snap

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,19 @@ the SolveSpace maintainers for each stable release.
3737

3838
### Via Snap Store
3939

40-
Builds from master are automatically released to the `edge` channel in the Snap Store. Those packages contain the latest improvements, but receive less testing than release builds.
40+
Official releases can be installed from the `stable` channel.
4141

42-
Future official releases will appear in the `stable` channel.
42+
Builds from master are automatically released to the `edge` channel in the Snap Store. Those packages contain the latest improvements, but receive less testing than release builds.
4343

4444
[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/solvespace)
4545

4646
Or install from a terminal:
4747

4848
```
49-
snap install --edge solvespace
49+
# for the latest stable release:
50+
snap install solvespace
51+
# for the bleeding edge builds from master:
52+
snap install solvespace --edge
5053
```
5154

5255
### Via third-party binary packages

0 commit comments

Comments
 (0)