Skip to content

Commit e641c37

Browse files
committed
wip: update
1 parent 6a74b1e commit e641c37

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ permissions:
1212
packages: write
1313
jobs:
1414
ci:
15-
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.2.0
15+
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@master
1616
with:
17-
forge_version: 0.3.0
17+
forge_version: 0.4.0

examples/go/blueprint.cue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project: {
44
ci: targets: {
55
publish: {
66
args: {
7-
version: string | *"v0.0.0" @env(name="GIT_TAG",type="string")
7+
version: string | *"v0.0.0" @env(name="GIT_TAG_VERSION",type="string")
88
}
99
platforms: [
1010
"linux/amd64",
@@ -13,7 +13,7 @@ project: {
1313
}
1414
release: {
1515
args: {
16-
version: string | *"v0.0.0" @env(name="GIT_TAG",type="string")
16+
version: string | *"v0.0.0" @env(name="GIT_TAG_VERSION",type="string")
1717
}
1818
platforms: [
1919
"linux/amd64",
@@ -29,10 +29,15 @@ project: {
2929
merge: {}
3030
tag: {}
3131
}
32+
config: {
33+
tag: _ @forge(name="GIT_COMMIT_HASH")
34+
}
3235
}
3336
github: {
3437
on: tag: {}
3538
config: {
39+
name: string | *"dev" @forge(name="GIT_TAG")
40+
prefix: project.name
3641
token: {
3742
provider: "env"
3843
path: "GITHUB_TOKEN"

examples/rust/blueprint.cue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,15 @@ project: {
2626
merge: {}
2727
tag: {}
2828
}
29+
config: {
30+
tag: _ @forge(name="GIT_COMMIT_HASH")
31+
}
2932
}
3033
github: {
3134
on: tag: {}
3235
config: {
36+
name: string | *"dev" @forge(name="GIT_TAG")
37+
prefix: project.name
3338
token: {
3439
provider: "env"
3540
path: "GITHUB_TOKEN"

users/jmgilman/blueprint.cue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ project: {
77
merge: {}
88
tag: {}
99
}
10+
config: {
11+
tag: _ @forge(name="GIT_COMMIT_HASH")
12+
}
1013
}
1114
github: {
1215
on: tag: {}
1316
config: {
17+
name: string | *"dev" @forge(name="GIT_TAG")
18+
prefix: project.name
1419
token: {
1520
provider: "env"
1621
path: "GITHUB_TOKEN"

0 commit comments

Comments
 (0)