Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit ca0a54a

Browse files
committed
build(snap): remove snap packaging
1 parent aa50af4 commit ca0a54a

File tree

4 files changed

+3
-109
lines changed

4 files changed

+3
-109
lines changed

.github/workflows/push.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,3 @@ jobs:
3232
- spread-matrix
3333
with:
3434
tests: ${{ needs.spread-matrix.outputs.tests }}
35-
36-
snap:
37-
name: Build snap
38-
needs:
39-
- test
40-
- lint
41-
- spread-tests
42-
strategy:
43-
matrix:
44-
include:
45-
- os: ubuntu-24.04
46-
- os: ubuntu-24.04-arm
47-
runs-on: ${{ matrix.os }}
48-
steps:
49-
- name: Check out the code
50-
uses: actions/checkout@v4
51-
with:
52-
fetch-depth: 0
53-
54-
- name: Setup LXD
55-
uses: canonical/[email protected]
56-
57-
- name: Setup Snapcraft
58-
run: sudo snap install --classic snapcraft
59-
60-
- name: Build snap
61-
run: snapcraft --verbose

.github/workflows/release.yml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -30,40 +30,3 @@ jobs:
3030
- spread-matrix
3131
with:
3232
tests: ${{ needs.spread-matrix.outputs.tests }}
33-
34-
snap:
35-
name: Release snap
36-
strategy:
37-
matrix:
38-
include:
39-
- os: ubuntu-24.04
40-
- os: ubuntu-24.04-arm
41-
runs-on: ${{ matrix.os }}
42-
steps:
43-
- name: Check out the code
44-
uses: actions/checkout@v4
45-
with:
46-
fetch-depth: 0
47-
48-
- name: Check versions match
49-
run: |
50-
version="$(grep -m1 -Po "version = \"\K[^\"]+" Cargo.toml)"
51-
if [[ "v${version}" != "${GITHUB_REF#refs/*/}" ]]; then
52-
echo "Cargo package version and tag do not match; refusing to continue."
53-
exit 1
54-
fi
55-
56-
- name: Setup LXD
57-
uses: canonical/[email protected]
58-
59-
- name: Setup Snapcraft
60-
run: sudo snap install --classic snapcraft
61-
62-
- name: Build snap
63-
run: snapcraft --verbose
64-
65-
- name: Release snap
66-
env:
67-
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_SECRET }}
68-
run: |
69-
snapcraft upload oxidizr_*.snap --release latest/candidate

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
# oxidizr
22

3-
<a href="https://snapcraft.io/oxidizr"><img alt="oxidizr" src="https://snapcraft.io/oxidizr/badge.svg"/></a>
4-
53
`oxidizr` is a command-line utility for managing system experiments that replace traditional Unix utilities with modern Rust-based alternatives on Ubuntu systems.
64

75
## Installation
86

9-
You can install `oxidizr` as a Snap:
7+
You can install `oxidizr` using `cargo`:
108

119
```bash
12-
sudo snap install --classic oxidizr
10+
cargo install --git https://github.com/jnsgruk/oxidizr
1311
```
1412

1513
## Usage
@@ -60,7 +58,7 @@ sudo oxidizr enable --experiments coreutils findutils
6058
sudo oxidizr enable --experiments coreutils --yes -v
6159
```
6260

63-
## Building `oxidizr`.
61+
## Building `oxidizr`
6462

6563
```bash
6664
# Build with cargo

snap/snapcraft.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)