File: release.sh

package info (click to toggle)
markdown-toc-el 0.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 196 kB
  • sloc: lisp: 529; makefile: 43; sh: 29
file content (31 lines) | stat: -rwxr-xr-x 435 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash

if [ $# -ne 1 ]; then
    cat <<EOF
Use: $0 <VERSION>"
- VERSION    version to release (0.1.6 for example)

To install the token, execute the install-marmalade-token.sh.
EOF
    exit 1;
fi

WDIR=$(dirname $0)

VERSION=$1

# launched from the current dev branch

git fetch -p --all

git checkout master

git merge origin/master

git tag -a -s $VERSION

git push origin --tag

make package

./upload-to-marmalade.sh