Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
"$schema": "https://unpkg.com/@changesets/config@4.0.1/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
Expand Down
296 changes: 1 addition & 295 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,298 +1,4 @@
{
"mode": "pre",
"tag": "alpha",
"initialVersions": {
"@cartesi/cli": "1.5.0",
"@cartesi/devnet": "1.8.0",
"@cartesi/mock-verifying-paymaster": "0.2.1",
"@cartesi/sdk": "0.11.0",
"tsconfig": "0.0.0"
},
"changesets": [
"afraid-cooks-relate",
"afraid-towns-cut",
"all-carpets-poke",
"all-goats-call",
"all-rings-care",
"angry-mammals-yell",
"angry-rats-mate",
"angry-turtles-enter",
"beige-kids-eat",
"big-carrots-knock",
"big-ghosts-rescue",
"blue-planes-develop",
"brave-foxes-climb",
"bright-dodos-double",
"brisk-owls-glow",
"brown-books-smash",
"brown-hotels-thank",
"brown-sheep-fold",
"bumpy-pens-cover",
"busy-bags-sing",
"busy-olives-press",
"busy-rats-leave",
"busy-weeks-flash",
"calm-comics-mate",
"calm-ends-follow",
"cartesi-toml-env-config",
"chatty-results-pull",
"chilly-ducks-work",
"chubby-eagles-mate",
"chubby-mice-smash",
"chubby-tires-melt",
"clean-boxes-hope",
"clean-dingos-battle",
"clear-falcons-wonder",
"clever-bees-taste",
"clever-toes-find",
"clever-trains-wait",
"cold-ducks-vanish",
"common-insects-punch",
"common-paths-tease",
"common-sites-flow",
"cool-crews-rest",
"cool-flies-fall",
"cool-panthers-itch",
"cruel-geese-repair",
"cuddly-months-lay",
"cuddly-moons-refuse",
"curly-dolls-cross",
"curvy-melons-sip",
"curvy-pets-look",
"cute-candies-mix",
"cute-houses-occur",
"cute-wings-shop",
"cyan-kiwis-cut",
"cyan-phones-dig",
"deep-sites-bake",
"dirty-crabs-smoke",
"dry-dogs-drive",
"dry-walls-lead",
"dull-ways-sin",
"early-ants-yell",
"eight-schools-repair",
"eighty-clowns-buy",
"eighty-jobs-show",
"eighty-squids-float",
"eleven-actors-spend",
"eleven-bottles-run",
"eleven-hotels-retire",
"every-banks-sleep",
"every-ravens-argue",
"every-spies-exist",
"evil-colts-rule",
"fair-cougars-buy",
"fair-readers-heal",
"famous-swans-rush",
"fifty-sheep-flow",
"fine-friends-rhyme",
"fine-frogs-hug",
"five-dots-end",
"five-shirts-drum",
"flat-ears-explain",
"floppy-eggs-rescue",
"fluffy-parts-dig",
"fluffy-taxis-attend",
"fluffy-trams-create",
"forty-feet-speak",
"four-dragons-write",
"four-plums-post",
"free-dogs-try",
"free-facts-stare",
"free-pets-dig",
"fresh-coats-know",
"fresh-doodles-run",
"fresh-pumas-clap",
"fresh-swans-attend",
"funny-humans-prove",
"funny-words-occur",
"funny-zoos-tell",
"giant-carrots-punch",
"gold-weeks-add",
"good-colts-remain",
"good-dodos-love",
"good-turkeys-speak",
"gorgeous-apples-move",
"great-doors-sing",
"great-jeans-bake",
"great-ride-unrxja",
"green-masks-accept",
"green-planets-lie",
"grumpy-knives-exist",
"happy-news-hide",
"healthy-kangaroos-sin",
"healthy-trees-enjoy",
"heavy-beans-admire",
"hip-grapes-wash",
"honest-zoos-remember",
"hot-eagles-return",
"huge-games-fail",
"huge-jeans-love",
"khaki-deer-drum",
"khaki-shirts-fly",
"kind-chicken-take",
"kind-mice-help",
"large-planets-exist",
"lazy-seahorses-study",
"lazy-walls-shop",
"legal-dragons-agree",
"legal-paws-flow",
"lemon-geese-wander",
"light-beds-shake",
"light-singers-slide",
"long-stingrays-work",
"loose-laws-relax",
"loud-dolls-serve",
"loud-states-change",
"lovely-stars-cross",
"lucky-birds-wave",
"lucky-otters-tie",
"lucky-otters-write",
"lucky-pandas-wave",
"major-items-follow",
"major-yaks-hang",
"many-dogs-check",
"many-spiders-lead",
"many-tomatoes-count",
"many-trains-call",
"mean-camels-sleep",
"mean-flowers-search",
"mean-turtles-cross",
"metal-otters-say",
"mighty-knives-join",
"mighty-rooms-smile",
"modern-otters-flow",
"moody-parrots-fold",
"nasty-suns-begin",
"neat-meals-wash",
"new-hotels-follow",
"new-maps-rest",
"nice-knives-refuse",
"nice-olives-spend",
"nine-moons-double",
"nine-stars-cut",
"odd-coins-juggle",
"odd-lights-knock",
"odd-worlds-brake",
"old-avocados-cross",
"old-candies-rule",
"old-chairs-enjoy",
"old-flies-retire",
"old-knives-search",
"old-tires-rhyme",
"olive-buckets-lay",
"olive-cats-press",
"olive-games-tap",
"olive-moons-repeat",
"olive-singers-agree",
"open-loops-tap",
"orange-deers-refuse",
"orange-pants-boil",
"perfect-news-compare",
"petite-areas-relate",
"petite-buckets-joke",
"pink-bobcats-film",
"pink-spies-happen",
"plain-moons-kneel",
"plenty-chicken-know",
"plenty-moons-arrive",
"polite-boxes-design",
"poor-donkeys-accept",
"poor-tips-happen",
"pretty-friends-notice",
"public-guests-beg",
"quick-fans-serve",
"quick-pandas-judge",
"quiet-clocks-send",
"quiet-pugs-search",
"rare-mugs-smell",
"real-guests-peel",
"real-squids-love",
"red-birds-count",
"red-boxes-rhyme",
"red-flowers-smash",
"rotten-hairs-beam",
"rotten-roses-write",
"rotten-squids-hear",
"rude-actors-sniff",
"rude-mirrors-travel",
"salty-hoops-move",
"seven-hounds-teach",
"shaggy-guests-look",
"shaggy-months-lose",
"shaky-plants-live",
"shiny-hounds-rest",
"shiny-tables-divide",
"shiny-wolves-sort",
"shy-hoops-look",
"silent-ends-hope",
"silly-avocados-look",
"silver-bikes-decide",
"six-clubs-sit",
"slimy-carrots-change",
"slimy-fishes-kneel",
"small-carrots-rush",
"small-coats-allow",
"small-terms-judge",
"smart-regions-jam",
"smooth-animals-write",
"smooth-years-jam",
"soft-bats-pump",
"soft-planets-marry",
"soft-trees-think",
"solid-owls-burn",
"sour-states-dig",
"sour-suits-care",
"spicy-bananas-hope",
"spicy-pillows-bow",
"spotty-clowns-draw",
"spotty-drinks-try",
"stale-ideas-ask",
"strong-buckets-return",
"strong-eyes-glow",
"strong-nails-raise",
"stupid-icons-exist",
"stupid-points-study",
"sweet-items-film",
"tame-cobras-kick",
"tasty-drinks-wash",
"tasty-lions-fetch",
"tasty-shoes-dig",
"ten-beers-glow",
"ten-jobs-travel",
"thick-coats-grow",
"thick-experts-notice",
"thick-taxis-pump",
"thin-hornets-sneeze",
"three-zebras-lead",
"tidy-owls-shave",
"tidy-pears-shave",
"tiny-meals-marry",
"tired-lights-worry",
"tired-points-fold",
"tough-ideas-hug",
"tough-maps-do",
"tricky-ads-drum",
"tricky-bees-accept",
"tricky-memes-wash",
"twelve-chairs-stare",
"upset-news-ask",
"upset-ravens-taste",
"upset-snails-attack",
"vast-kids-read",
"violet-flies-rest",
"warm-bugs-burn",
"weak-tigers-shine",
"wet-drinks-fail",
"wicked-phones-sing",
"wild-camels-sink",
"wild-stars-argue",
"wise-bananas-make",
"wise-grapes-try",
"witty-radios-fry",
"witty-walls-shop",
"young-bobcats-wonder",
"young-foxes-try",
"yummy-memes-scream"
]
"tag": "alpha"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 9 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
outputs:
published: ${{ steps.changeset.outputs.published }}
publishedPackages: ${{ steps.changeset.outputs.publishedPackages }}
publishedPackages: ${{ steps.changeset.outputs.published-packages }}
steps:
- name: Checkout Repo
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -31,7 +31,10 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1

# Changesets v3 requires Node ^22.11 || ^24 || >=26
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0

# Minimum required version for npm publish with OIDC Support
Expand Down Expand Up @@ -63,18 +66,16 @@ jobs:

- name: Create Release Pull Request or Publish to npm
id: changeset
uses: changesets/action@a45c4d594aa4e2c509dc14a9f2b3b67ba3780d0d # v1.9.0
uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v2.1.2
with:
commit: "release: version packages"
publish: bun run publish-packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
commit-message: "release: version packages"
publish-script: bun run publish-packages

- name: Release CLI binaries
if: ${{ steps.changeset.outputs.published == 'true' && contains(fromJSON(steps.changeset.outputs.publishedPackages).*.name, '@cartesi/cli') }}
if: ${{ steps.changeset.outputs.published == 'true' && contains(fromJSON(steps.changeset.outputs.published-packages).*.name, '@cartesi/cli') }}
run: |
for f in cartesi-*; do tar -czf "$f.tar.gz" "$f"; done
VERSION=$(jq -r '.[] | select(.name=="@cartesi/cli") | .version' <<< '${{ steps.changeset.outputs.publishedPackages }}')
VERSION=$(jq -r '.[] | select(.name=="@cartesi/cli") | .version' <<< '${{ steps.changeset.outputs.published-packages }}')
TAG="@cartesi/cli@${VERSION}"
gh release upload "$TAG" cartesi-*.tar.gz
working-directory: ./apps/cli/bin
Expand Down
Loading
Loading