Skip to content

Commit 4ce3502

Browse files
committed
Fix tag release script
1 parent d6cb979 commit 4ce3502

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/tag_release.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ set -eu
66

77
cd "$(dirname $0)/.."
88

9-
PACKAGE_VERSION="$(grep version Cargo.toml | sed 's/^version.*=.*"\([^"]\+\)"$/\1/')"
9+
PACKAGE_VERSION="$(grep version Cargo.toml |
10+
sed 's/^version.*=.*"\([^"]\+\)"$/\1/' |
11+
head -n1)"
1012
DESCRIPTION="Version ${PACKAGE_VERSION}"
1113
TAG_NAME="v${PACKAGE_VERSION}"
1214

0 commit comments

Comments
 (0)