Skip to content

Commit 9cafc46

Browse files
committed
chore: release v0.0.3
1 parent 30a7094 commit 9cafc46

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

.github/create-release.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,17 @@ echo "Please note: If you did not use this script before, please run ./install-r
1414
BUMP="${1:-patch}"
1515
VERSION=$(cat "${DIR}/../VERSION")
1616
NEW_VERSION=$(semver bump "$BUMP" "$VERSION")
17+
18+
if [ -z "$DEBFULLNAME" ]; then
19+
export DEBFULLNAME=`git log -n 1 --pretty=format:%an`
20+
fi
21+
22+
if [ -z "$DEBEMAIL" ]; then
23+
export DEBEMAIL=`git log -n 1 --pretty=format:%ae`
24+
fi
25+
26+
1727
(cd "${DIR}/../src" && dch -v ${NEW_VERSION} --distribution main --force-distribution)
18-
echo "$NEW_VERSION" > "${DIR}/../VERSION"
28+
echo -n "$NEW_VERSION" > "${DIR}/../VERSION"
1929

2030
echo "You are ready to commit the new version: git add -A && git commit -m \"chore: release v${NEW_VERSION}\""

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.2
1+
0.0.3

src/debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
nesto-usbproxy (0.0.3) main; urgency=medium
2+
3+
* Test new release workflow
4+
5+
-- Martin Löper <martin.loeper@nesto-software.de> Sun, 14 Feb 2021 02:09:38 +0100
6+
17
nesto-usbproxy (0.0.2) main; urgency=medium
28

39
* Test the versioning and publishing of further images

0 commit comments

Comments
 (0)