Skip to content

Commit

Permalink
Merge pull request #15 from karthik2804/fix/plugin_manifest_version
Browse files Browse the repository at this point in the history
fix bash script to get proper version from Cargo.toml for manifests
  • Loading branch information
kate-goldenring authored Jun 5, 2023
2 parents 7acb219 + 700477c commit 25282e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .plugin-manifests/generate-manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PLUGIN_BINARY_VERSION_STRING=$1

# If canary release tag with epoch at the end as it is monotonic
if [[ $VERSION == "canary" ]]; then
PLUGIN_VERSION=$(cat ./Cargo.toml | grep version | head -n 1 | awk '{print $3}')
PLUGIN_VERSION=$(cargo read-manifest | jq -r .version)
VERSION="${PLUGIN_VERSION//\"}post.$(date +%s)"
PLUGIN_BINARY_VERSION_STRING="canary"
fi
Expand Down

0 comments on commit 25282e2

Please sign in to comment.