File: snap_deploy.sh

package info (click to toggle)
cloudcompare 2.10.1-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 55,916 kB
  • sloc: cpp: 219,837; ansic: 29,944; makefile: 67; sh: 45
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"