Skip to content

Commit e31ec4e

Browse files
committed
Fix build
1 parent 0cd5304 commit e31ec4e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
146146
# Generate the changelog
147147
# TODO: Maybe detect if major version change, then make it urgent
148-
dch --create -v $VERSION -u low --package gitmastery $CHANGELOG_MESSAGE
148+
dch --create -v ${VERSION}-1 -u low --package gitmastery $CHANGELOG_MESSAGE
149149
150150
# Create the control file
151151
# TODO: Maybe detect if major version change, then make it mandatory
@@ -169,14 +169,16 @@ jobs:
169169
mkdir debian/source
170170
echo "3.0 (quilt)" > debian/source/format
171171
172+
mkdir build
173+
172174
# Provide the rules for installation, using -e to preserve the tab character as per:
173175
# https://wiki.debian.org/Packaging/Intro
174176
echo -e $"""#!/usr/bin/make -f
175177
%:
176178
\tdh \$@
177179
\n
178180
override_dh_auto_install:
179-
\tinstall -D -m 0755 gitmastery-${VERSION}-linux-amd64 \$(DESTDIR)/usr/bin/gitmastery
181+
\tinstall -D -m 0755 gitmastery-${VERSION}-linux-amd64 build/usr/bin/gitmastery
180182
""" > debian/rules
181183
182184
echo """usr/bin

0 commit comments

Comments
 (0)