Skip to content

Commit 24bf369

Browse files
committed
Release 0.0.65
1 parent c9d86f0 commit 24bf369

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "liquid-java",
33
"displayName": "LiquidJava",
44
"description": "Extending Java with Liquid Types",
5-
"version": "0.0.63",
5+
"version": "0.0.65",
66
"publisher": "AlcidesFonseca",
77
"repository": {
88
"type": "git",

client/src/webview/views/diagnostics/derivation-nodes.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,7 @@ export function renderDerivationNode(error: RefinementError, node: ValDerivation
125125
${renderJsonTree(error, node, errorId, "root", expansions)}
126126
${expansions.size === 0 ? '<span class="node-expand-indicator">&nbsp;(click to expand)</span>' : ''}
127127
</div>
128-
<button class="reset-btn derivation-reset-btn" data-error-id="${errorId}" ${expansions.size === 0 ? "disabled" : ""}>
129-
130-
</button>
128+
<button class="reset-btn derivation-reset-btn" data-error-id="${errorId}" ${expansions.size === 0 ? "disabled" : ""}>↻</button>
131129
</div>
132130
`;
133131
}

release.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ if [[ ! $VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
1414
exit 1
1515
fi
1616

17+
# check current branch
18+
CURRENT_BRANCH=$(git branch --show-current)
19+
if [ "$CURRENT_BRANCH" != "main" ]; then
20+
echo "Releases can only be created from the main branch (current: $CURRENT_BRANCH)"
21+
exit 1
22+
fi
23+
1724
# check if version present in package.json
1825
if ! grep -q "\"version\": \"$VERSION\"" ./client/package.json; then
1926
echo "Version $VERSION not found in package.json"
@@ -26,7 +33,6 @@ if git rev-parse "v$VERSION" >/dev/null 2>&1; then
2633
exit 1
2734
fi
2835

29-
git checkout main
3036
git pull
3137
git add .
3238
git commit -m "Release $VERSION"

0 commit comments

Comments
 (0)