File: snap_deploy.sh

package info (click to toggle)
cloudcompare 2.11.3-7.1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 58,224 kB
  • sloc: cpp: 229,982; ansic: 30,723; makefile: 84; sh: 20
file content (10 lines) | stat: -rwxr-xr-x 287 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

WORKING_DIR="$1"

docker run -t \
  -v "${WORKING_DIR}":"${WORKING_DIR}" \
  -e LC_ALL="C.UTF-8" \
  -e LANG="C.UTF-8" \
  ubuntu:xenial \
  sh -c "apt-get -qq update && apt-get -y install snapcraft && cd ${WORKING_DIR} && snapcraft && snapcraft push *.snap --release edge"