Skip to content

Commit

Permalink
Merge pull request #690 from rage/fix-bindings
Browse files Browse the repository at this point in the history
Fix bindings and prepare 2.2.2
  • Loading branch information
nygrenh authored Sep 13, 2023
2 parents f6adc46 + 8740f89 commit 52317bb
Show file tree
Hide file tree
Showing 6 changed files with 237 additions and 161 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [2.2.2] - 2023-09-13

- Fixed an "Empty Langs Response Error" that would sometimes occur after submitting an exercise.

## [2.2.1] - 2023-09-11

- Bumped TMC-langs version to 0.35.0.
Expand Down
11 changes: 9 additions & 2 deletions bin/validateRelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ fi

# Version in package.json must match with tag version
tagVersion=${BASH_REMATCH[1]}
packageVersion=$(grep -Eo '"version":.+$' package.json)
if [[ ! $packageVersion =~ '"version": "'$tagVersion'",' ]]
packageVersion=$(grep -Eo '^ "version": ".+$' package.json | cut -d\" -f4)
if [[ ! $packageVersion =~ $tagVersion ]]
then
echo "Error: The version in package.json '${packageVersion}' doesn't match with the tag '${tagVersion}."
exitCode=1
Expand Down Expand Up @@ -42,4 +42,11 @@ then
exitCode=1
fi

if [ $exitCode = 0 ]
then
echo "Validated release successfully"
else
echo "Failed to validate release"
fi

exit $exitCode
2 changes: 1 addition & 1 deletion bin/verifyThatLangsBuildsExist.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function main() {
console.error("Verification resulted in error:", e.message);
process.exit(1);
}
console.log("Looks good!");
console.log("Found all langs builds!");
}

main();
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "test-my-code",
"displayName": "TestMyCode",
"version": "2.2.1",
"version": "2.2.2",
"description": "TestMyCode extension for Visual Studio Code",
"categories": [
"Other"
Expand Down
Loading

0 comments on commit 52317bb

Please sign in to comment.