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
4 changes: 2 additions & 2 deletions .github/actions/bootstrap-sbt-airframe/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Bootstrap sbt-airframe
description: >
Publish the in-repo sbt-airframe plugin to the local Ivy repo so the main build's
metabuild can resolve it. Temporary: remove once sbt-airframe 2026.2.0 is published
metabuild can resolve it. Temporary: remove once sbt-airframe 2026.2.1 is published
to Maven Central (the main build then resolves it normally via SBT_AIRFRAME_VERSION).
runs:
using: composite
steps:
- name: Publish sbt-airframe locally
shell: bash
# Pin the version to the SBT_AIRFRAME_VERSION default in project/plugin.sbt.
run: cd sbt-airframe && ../sbt 'set every version := "2026.2.0"' publishLocal
run: cd sbt-airframe && ../sbt 'set every version := "2026.2.1"' publishLocal
2 changes: 2 additions & 0 deletions .github/workflows/release-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes
# The root build's metabuild needs the (not-yet-released) sbt-airframe plugin to load.
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Build for Scala.js
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes
# The root build's metabuild needs the (not-yet-released) sbt-airframe plugin to load.
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Build for Scala Native
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release-sbt-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes
# Break the release-time circular dependency: the root build's metabuild needs the
# sbt-airframe plugin to load, but sbt-airframe is what we're releasing. Publish it locally
# FIRST, before AIRFRAME_VERSION is set, so its own deps resolve from the last released
# airframe on Maven Central rather than the (not-yet-built) release version.
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Get Airframe version
run: echo "AIRFRAME_VERSION=$(./scripts/dynver.sh)" >> $GITHUB_ENV
- name: Check Airframe version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes
# The root build's metabuild needs the (not-yet-released) sbt-airframe plugin to load.
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Build bundle
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-examples/hello-rpc/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val SBT_AIRFRAME_VERSION = sys.env.getOrElse("SBT_AIRFRAME_VERSION", "2026.2.0")
val SBT_AIRFRAME_VERSION = sys.env.getOrElse("SBT_AIRFRAME_VERSION", "2026.2.1")
addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "1.0.0")
addSbtPlugin("org.wvlet.airframe" % "sbt-airframe" % SBT_AIRFRAME_VERSION)
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.6")
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-examples/rpc-scalajs/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val SBT_AIRFRAME_VERSION = sys.env.getOrElse("SBT_AIRFRAME_VERSION", "2026.2.0")
val SBT_AIRFRAME_VERSION = sys.env.getOrElse("SBT_AIRFRAME_VERSION", "2026.2.1")
addSbtPlugin("org.wvlet.airframe" % "sbt-airframe" % SBT_AIRFRAME_VERSION)
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.22.0")
addSbtPlugin("org.wvlet.uni" % "sbt-uni-crossproject" % "2026.1.14")
Expand Down
2 changes: 1 addition & 1 deletion project/plugin.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ libraryDependencies += "org.antlr" % "antlr4" % "4.13.2"
// build sbt-airframe locally and point this at the snapshot:
// (cd sbt-airframe && ../sbt publishLocal)
// export SBT_AIRFRAME_VERSION=$(./scripts/dynver.sh)
val SBT_AIRFRAME_VERSION = sys.env.getOrElse("SBT_AIRFRAME_VERSION", "2026.2.0")
val SBT_AIRFRAME_VERSION = sys.env.getOrElse("SBT_AIRFRAME_VERSION", "2026.2.1")
addSbtPlugin("org.wvlet.airframe" % "sbt-airframe" % SBT_AIRFRAME_VERSION)

scalacOptions ++= Seq("-deprecation", "-feature")
Expand Down
Loading