Skip to content

Commit c210631

Browse files
committed
refine version logic; tag 0.0.6
1 parent 53bbe6d commit c210631

File tree

5 files changed

+14
-12
lines changed

5 files changed

+14
-12
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ inputs:
55
version:
66
description: "Version of Calcit to install"
77
required: false
8-
default: 0.9.2
8+
default: 0.9.4
99
bundler:
10-
description: "download calcit bunder_command"
10+
description: "Whethere to download calcit bunder_command"
1111
required: false
1212
default: false
1313

dist/index.js

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ if (require.main === module) {
3434
console.log("Reading deps.cirru");
3535
const depsCirru = fs.readFileSync("deps.cirru", "utf8");
3636
const deps = to_js_data(parse_cirru_edn(depsCirru));
37-
console.log("deps", deps);
37+
// console.log("deps", deps);
3838
version = deps["calcit-version"];
3939
}
4040

41-
if (!version) {
42-
version = core.getInput("version");
41+
const inputVersion = core.getInput("version");
42+
if (inputVersion) {
43+
version = inputVersion;
4344
}
4445

4546
if (!version) {
@@ -49,7 +50,7 @@ if (require.main === module) {
4950
return;
5051
}
5152

52-
console.log(`Setting up Calcit ${version}`);
53+
console.log(`Setting up Calcit ${version}, with bundler: ${bundler}`);
5354
setup("cr");
5455
setup("caps");
5556
if (bundler) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-cr",
3-
"version": "0.0.5",
3+
"version": "0.0.6",
44
"description": "Setup Calcit runtime",
55
"main": "./index.js",
66
"repository": "[email protected]:calcit-lang/setup-cr.git",

0 commit comments

Comments
 (0)