Skip to content

Commit 0285f08

Browse files
committed
Disable snap build
1 parent a6b1942 commit 0285f08

File tree

5 files changed

+23
-22
lines changed

5 files changed

+23
-22
lines changed

.github/workflows/cd.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ jobs:
6666
sudo apt-get update --fix-missing
6767
sudo apt-get install -y --no-install-recommends liblua5.1-0-dev libluajit-5.1-dev gcc pkg-config curl git make ca-certificates
6868
sudo apt-get install -y snapd
69-
sudo snap install snapcraft --classic
70-
sudo snap install multipass --classic --beta
69+
# sudo snap install snapcraft --classic
70+
# sudo snap install multipass --classic --beta
7171
7272
- if: matrix.build == 'linux-musl'
7373
run: sudo apt-get install -y musl-tools
@@ -84,12 +84,12 @@ jobs:
8484
- name: Running cargo build
8585
run: cargo build --locked --release --target ${{ matrix.target }}
8686

87-
- name: Running snapcraft build
88-
run: |
89-
snapcraft
90-
printf ' [ INFO ] generated <snapcraft> files include:\n'
91-
command ls -Al | grep "\.snap" | awk '{ print $9 }'
92-
mv ./*.snap ./xplr.snap
87+
# - name: Running snapcraft build
88+
# run: |
89+
# snapcraft
90+
# printf ' [ INFO ] generated <snapcraft> files include:\n'
91+
# command ls -Al | grep "\.snap" | awk '{ print $9 }'
92+
# mv ./*.snap ./xplr.snap
9393

9494
- name: Install gpg secret key
9595
run: |
@@ -117,6 +117,11 @@ jobs:
117117
env:
118118
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119119

120+
# - name: Cleaning snapcraft
121+
# run: |
122+
# command rm --verbose ./*.snap
123+
# snapcraft clean
124+
120125
publish-gpg-signature:
121126
name: Publishing GPG signature
122127
runs-on: ubuntu-latest
@@ -141,10 +146,6 @@ jobs:
141146
source.tar.gz.asc
142147
env:
143148
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
144-
- name: Cleaning snapcraft
145-
run: |
146-
command rm --verbose ./*.snap
147-
snapcraft clean
148149

149150
publish-cargo:
150151
name: Publishing to Cargo

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ path = './benches/criterion.rs'
88

99
[package]
1010
name = 'xplr'
11-
version = '0.21.6'
11+
version = '0.21.7'
1212
authors = ['Arijit Basu <hi@arijitbasu.in>']
1313
edition = '2021'
1414
description = 'A hackable, minimal, fast TUI file explorer'

docs/en/src/upgrade-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ compatibility.
4545

4646
### Instructions
4747

48-
#### [v0.20.2][48] -> [v0.21.6][49]
48+
#### [v0.20.2][48] -> [v0.21.7][49]
4949

5050
- Some plugins might stop rendering colors. Wait for them to update.
5151
- Rename `xplr.config.general.sort_and_filter_ui.search_identifier` to
@@ -525,5 +525,5 @@ Else do the following:
525525
[46]: https://github.com/sayanarijit/xplr/releases/tag/v0.18.0
526526
[47]: https://github.com/sayanarijit/xplr/releases/tag/v0.19.4
527527
[48]: https://github.com/sayanarijit/xplr/releases/tag/v0.20.2
528-
[49]: https://github.com/sayanarijit/xplr/releases/tag/v0.21.6
528+
[49]: https://github.com/sayanarijit/xplr/releases/tag/v0.21.7
529529
[50]: https://github.com/lotabout/skim#search-syntax

src/lua/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,24 +160,24 @@ mod tests {
160160
assert!(check_version(VERSION, "foo path").is_ok());
161161

162162
// Current release if OK
163-
assert!(check_version("0.21.6", "foo path").is_ok());
163+
assert!(check_version("0.21.7", "foo path").is_ok());
164164

165165
// Prev major release is ERR
166166
// - Not yet
167167

168168
// Prev minor release is ERR (Change when we get to v1)
169-
assert!(check_version("0.20.6", "foo path").is_err());
169+
assert!(check_version("0.20.7", "foo path").is_err());
170170

171171
// Prev bugfix release is OK
172-
assert!(check_version("0.21.5", "foo path").is_ok());
172+
assert!(check_version("0.21.6", "foo path").is_ok());
173173

174174
// Next major release is ERR
175-
assert!(check_version("1.20.6", "foo path").is_err());
175+
assert!(check_version("1.20.7", "foo path").is_err());
176176

177177
// Next minor release is ERR
178-
assert!(check_version("0.22.6", "foo path").is_err());
178+
assert!(check_version("0.22.7", "foo path").is_err());
179179

180180
// Next bugfix release is ERR (Change when we get to v1)
181-
assert!(check_version("0.21.7", "foo path").is_err());
181+
assert!(check_version("0.21.8", "foo path").is_err());
182182
}
183183
}

0 commit comments

Comments
 (0)