mirror of
https://github.com/timvisee/ffsend.git
synced 2025-01-31 19:51:35 +01:00
Build snapcraft package on GitLab CI
This commit is contained in:
parent
573c4862ca
commit
151609983f
@ -131,3 +131,22 @@ crate:
|
||||
- echo $CARGO_TOKEN | cargo login
|
||||
- echo "Publishing crate to crates.io..."
|
||||
- cargo publish --verbose --allow-dirty
|
||||
|
||||
# Snap release
|
||||
snap:
|
||||
image: snapcore/snapcraft
|
||||
stage: release
|
||||
# only:
|
||||
# - /^v(\d+\.)*\d+$/
|
||||
before_script: []
|
||||
script:
|
||||
- echo "Building snap package..."
|
||||
- cd pkg/snap
|
||||
- snapcraft
|
||||
# TODO: See: https://docs.snapcraft.io/rust-applications/7826
|
||||
# TODO: - login to registry
|
||||
# TODO: - test built snap
|
||||
# TODO: - push snap to snapcraft.io
|
||||
# - echo "Publishing snap package..."
|
||||
# - echo "$SNAP_USER\n&SNAP_PASS" | snapcraft login
|
||||
# - snapcraft push --release=edge ffsend_amd64.snap
|
||||
|
Loading…
x
Reference in New Issue
Block a user