Skip to content

Commit

Permalink
Fix tag release script
Browse files Browse the repository at this point in the history
  • Loading branch information
tmfink committed Sep 21, 2018
1 parent d6cb979 commit 4ce3502
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/tag_release.sh
Expand Up @@ -6,7 +6,9 @@ set -eu

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

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

Expand Down

0 comments on commit 4ce3502

Please sign in to comment.