gitlab-ci, build/linux: Create and submit .snap on releases
This commit is contained in:
parent
1c18ef5a0b
commit
2c7ee6ba4d
2 changed files with 7 additions and 5 deletions
|
|
@ -434,6 +434,7 @@ gimp-flatpak:
|
|||
- if: '$CI_MERGE_REQUEST_LABELS =~ /.*Package:Snap.*/'
|
||||
interruptible: true
|
||||
- if: '$GIMP_CI_SNAP != null || "$[[ inputs.distribution_pipeline ]]" =~ /.*GIMP_CI_SNAP.*/'
|
||||
- <<: *CI_RELEASE
|
||||
parallel:
|
||||
matrix:
|
||||
- RUNNER: [aarch64, x86_64_v3]
|
||||
|
|
|
|||
|
|
@ -86,11 +86,12 @@ fi
|
|||
|
||||
|
||||
# Publish GIMP snap on Snap Store
|
||||
#if [ "$CI_COMMIT_TAG" = "$(git describe --all | sed 's|tags/||')" ]; then
|
||||
# printf "\e[0Ksection_start:`date +%s`:${SNAP}_submission[collapsed=true]\r\e[0KPublishing snap to Snap Store\n"
|
||||
# snapcraft upload --release=$TRACK/stable $output_dir/${SNAP}
|
||||
# printf "\e[0Ksection_end:`date +%s`:${SNAP}_submission\r\e[0K\n"
|
||||
#fi
|
||||
# (the credentials are stored on SNAPCRAFT_STORE_CREDENTIALS protected var)
|
||||
if [ "$CI_COMMIT_TAG" = "$(git describe --all | sed 's|tags/||')" ]; then
|
||||
printf "\e[0Ksection_start:`date +%s`:${SNAP}_submission[collapsed=true]\r\e[0KPublishing snap to Snap Store\n"
|
||||
snapcraft upload --release=$TRACK/stable $output_dir/${SNAP}
|
||||
printf "\e[0Ksection_end:`date +%s`:${SNAP}_submission\r\e[0K\n"
|
||||
fi
|
||||
done
|
||||
|
||||
rm snapcraft.yaml
|
||||
|
|
|
|||
Loading…
Reference in a new issue