Skip to content

Commit 75f63e6

Browse files
committed
pack.yml: Check if manifest and changelog versions are same.
1 parent 987b3d2 commit 75f63e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pack.yml

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
tmpFile="tmp.tmp"
4242
firstEntry="$("${jqCommand}" -j ".[0]" "${changelogPath}")"
4343
version="$(echo "$firstEntry" | "${jqCommand}" -j "[ .version | to_entries[] | .value ] | join(\".\")")"
44+
manifestVersion="$("${jqCommand}" -j ".version" < ./extension/manifest.json)"
45+
[ $version != $manifestVersion ] && echo "Manifest version and changelog version are not same. Please verify again." && exit 1
4446
4547
# Export version for future tasks
4648
export version

0 commit comments

Comments
 (0)