Skip to content

Commit

Permalink
refine version logic; tag 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Aug 26, 2024
1 parent 53bbe6d commit c210631
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ inputs:
version:
description: "Version of Calcit to install"
required: false
default: 0.9.2
default: 0.9.4
bundler:
description: "download calcit bunder_command"
description: "Whethere to download calcit bunder_command"
required: false
default: false

Expand Down
9 changes: 5 additions & 4 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ if (require.main === module) {
console.log("Reading deps.cirru");
const depsCirru = fs.readFileSync("deps.cirru", "utf8");
const deps = to_js_data(parse_cirru_edn(depsCirru));
console.log("deps", deps);
// console.log("deps", deps);
version = deps["calcit-version"];
}

if (!version) {
version = core.getInput("version");
const inputVersion = core.getInput("version");
if (inputVersion) {
version = inputVersion;
}

if (!version) {
Expand All @@ -49,7 +50,7 @@ if (require.main === module) {
return;
}

console.log(`Setting up Calcit ${version}`);
console.log(`Setting up Calcit ${version}, with bundler: ${bundler}`);
setup("cr");
setup("caps");
if (bundler) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-cr",
"version": "0.0.5",
"version": "0.0.6",
"description": "Setup Calcit runtime",
"main": "./index.js",
"repository": "[email protected]:calcit-lang/setup-cr.git",
Expand Down

0 comments on commit c210631

Please sign in to comment.