Skip to content

Commit

Permalink
fix missing version string
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Aug 15, 2024
1 parent 7206b68 commit ebbad5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/buildRelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ for dir in paper src ; do
rsync -a -f'exclude .git*' -f 'exclude .vscode' -f 'exclude benchmarks' $dir verkko-v${version}/
done

cat src/Makefile | sed s/^VERSION.\*/VERSION\ :=\ verkko\ release\ v${version}/ > verkko-v${version}/src/Makefile
cat src/main.mk | sed s/^VERSION\ \*:=.\*/VERSION\ :=\ release\ v${version}/ > verkko-v${version}/src/Makefile

tar -cf verkko-v${version}.tar verkko-v${version}
gzip -9v verkko-v${version}.tar
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.boilermake
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ define ADD_FILE_COPY_RULE
ifeq ($3,executable)
$${TARGET_DIR}/$2: $1
@mkdir -p $$(dir $${TARGET_DIR}/$2)
cp -pf $1 $${TARGET_DIR}/$2
cat $1 |sed s/'version=""'/'version="$(VERSION)"'/g > $${TARGET_DIR}/$2
chmod +x $${TARGET_DIR}/$2
else
$${TARGET_DIR}/$2: $1
Expand Down
2 changes: 1 addition & 1 deletion src/main.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MODULE := verkko
VERSION := snapshot v2.0
VERSION := snapshot v2.2
VERSION_H := ${CANUROOT}utility/src/version.H

TARGET := libverkko.a
Expand Down

0 comments on commit ebbad5b

Please sign in to comment.