Skip to content

Commit

Permalink
Release stable 24.5.1 version
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshrn authored May 3, 2024
1 parent f4d4ba2 commit 527f72a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@
"coverage-all": "TEST_LIGHTSPEED_URL='http://127.0.0.1:3000' yarn _coverage-all",
"als-compile": "yarn workspace @ansible/ansible-language-server compile"
},
"version": "24.5.0",
"version": "24.5.1",
"packageManager": "yarn@4.1.1",
"vsce": {
"dependencies": false,
Expand Down
3 changes: 2 additions & 1 deletion tools/get-marketplace-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ set -Ee
LAST_TAG=$(git describe --tags --abbrev=0)
LAST_TAG_TIMESTAMP=$(git -P log -1 --format=%ct "${LAST_TAG}")
LAST_COMMIT_TIMESTAMP=$(git -P show --no-patch --format=%ct HEAD)
VERSION_SUFFIX="$((LAST_COMMIT_TIMESTAMP-LAST_TAG_TIMESTAMP))"
#VERSION_SUFFIX="$((LAST_COMMIT_TIMESTAMP-LAST_TAG_TIMESTAMP))"
# We remove the last number from the node reported version.
VERSION_PREFIX=$(node -p "require('./package.json').version")
VERSION_SUFFIX=1
echo -n "${VERSION_PREFIX%.*}.${VERSION_SUFFIX}"
6 changes: 3 additions & 3 deletions tools/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ rm -f ./*.vsix
yarn run webpack
VERSION="$(./tools/get-marketplace-version.sh)"
vsce_package_args=(--no-dependencies --no-git-tag-version --no-update-package-json --readme-path docs/README.md)
if [[ "$VERSION" != *.0 ]]; then
vsce_package_args+=("--pre-release")
fi
# if [[ "$VERSION" != *.0 ]]; then
# vsce_package_args+=("--pre-release")
# fi

# --no-dependencies and --no-yarn needed due to https://github.com/microsoft/vscode-vsce/issues/439
yarn run vsce package "${vsce_package_args[@]}" "${VERSION}"
Expand Down

0 comments on commit 527f72a

Please sign in to comment.