File: release.sh

package info (click to toggle)
markdown-toc-el 0.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 204 kB
  • sloc: lisp: 998; makefile: 45; sh: 16
file content (29 lines) | stat: -rwxr-xr-x 409 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
#!/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