Skip to content

Commit

Permalink
Fix manifest version tag (#71524)
Browse files Browse the repository at this point in the history
The version needs to be contained in the `plugin-version` tag, not
`version` one.

(cherry picked from commit a674b26)
  • Loading branch information
bpintea committed Apr 12, 2021
1 parent 01dc431 commit 702b9be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x-pack/plugin/sql/connectors/tableau/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ function package() {
rm -rfv $MY_WORKSPACE/$SRC_DIR
cp -rv $MY_TOP_DIR/$SRC_DIR $MY_WORKSPACE

# patch version tag in manifest file, filtering out any -SNAPSHOT
echo -e "cd //connector-plugin/@version\nset ${TACO_VERSION%-*}\nsave" |\
# patch plugin-version tag in manifest file, filtering out any -SNAPSHOT
echo \
-e "cd //connector-plugin/@plugin-version\nset ${TACO_VERSION%-*}\nsave" |\
xmllint --shell $MY_WORKSPACE/$SRC_DIR/manifest.xml

# check out TDVT SDK
Expand Down

0 comments on commit 702b9be

Please sign in to comment.