Skip to content

Commit

Permalink
Merge pull request #6 from popey/patch-1
Browse files Browse the repository at this point in the history
Update for core20
  • Loading branch information
Dani Llewellyn committed Jul 2, 2022
2 parents 7dd16b3 + 64096c5 commit 82d3823
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions snap/snapcraft.yaml
@@ -1,27 +1,26 @@
name: fkill
version: latest
version-script: git -C parts/fkill/build describe --tags | sed 's/v//'
adopt-info: fkill
summary: Fabulously kill processes. Cross-platform.
description: |
A command-line tool for easily and quickly killing processes.
base: core18
base: core20

grade: stable
confinement: strict

apps:
fkill:
command: fkill
command: bin/fkill
plugs:
- network
- process-control
- system-observe

parts:
fkill:
plugin: nodejs
plugin: npm
npm-node-version: 16.15.1
source: https://github.com/sindresorhus/fkill-cli.git
nodejs-version: 12.16.0
override-build: |
last_committed_tag="$(git describe --tags --abbrev=0)"
last_committed_tag_ver="$(echo ${last_committed_tag} | sed 's/v//')"
Expand All @@ -33,6 +32,7 @@ parts:
git checkout "${last_committed_tag}"
fi
snapcraftctl build
snapcraftctl set-version $last_committed_tag
stage-packages:
- iproute2
- libatm1
Expand Down

0 comments on commit 82d3823

Please sign in to comment.