Skip to content

Commit

Permalink
wip: update
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman committed Oct 22, 2024
1 parent 6a74b1e commit e641c37
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ permissions:
packages: write
jobs:
ci:
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@ci/v1.2.0
uses: input-output-hk/catalyst-forge/.github/workflows/ci.yml@master
with:
forge_version: 0.3.0
forge_version: 0.4.0
9 changes: 7 additions & 2 deletions examples/go/blueprint.cue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project: {
ci: targets: {
publish: {
args: {
version: string | *"v0.0.0" @env(name="GIT_TAG",type="string")
version: string | *"v0.0.0" @env(name="GIT_TAG_VERSION",type="string")
}
platforms: [
"linux/amd64",
Expand All @@ -13,7 +13,7 @@ project: {
}
release: {
args: {
version: string | *"v0.0.0" @env(name="GIT_TAG",type="string")
version: string | *"v0.0.0" @env(name="GIT_TAG_VERSION",type="string")
}
platforms: [
"linux/amd64",
Expand All @@ -29,10 +29,15 @@ project: {
merge: {}
tag: {}
}
config: {
tag: _ @forge(name="GIT_COMMIT_HASH")
}
}
github: {
on: tag: {}
config: {
name: string | *"dev" @forge(name="GIT_TAG")
prefix: project.name
token: {
provider: "env"
path: "GITHUB_TOKEN"
Expand Down
5 changes: 5 additions & 0 deletions examples/rust/blueprint.cue
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,15 @@ project: {
merge: {}
tag: {}
}
config: {
tag: _ @forge(name="GIT_COMMIT_HASH")
}
}
github: {
on: tag: {}
config: {
name: string | *"dev" @forge(name="GIT_TAG")
prefix: project.name
token: {
provider: "env"
path: "GITHUB_TOKEN"
Expand Down
5 changes: 5 additions & 0 deletions users/jmgilman/blueprint.cue
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ project: {
merge: {}
tag: {}
}
config: {
tag: _ @forge(name="GIT_COMMIT_HASH")
}
}
github: {
on: tag: {}
config: {
name: string | *"dev" @forge(name="GIT_TAG")
prefix: project.name
token: {
provider: "env"
path: "GITHUB_TOKEN"
Expand Down

0 comments on commit e641c37

Please sign in to comment.