Skip to content

Commit

Permalink
Merge pull request #804 from makenowjust-labs/publish-flow
Browse files Browse the repository at this point in the history
  • Loading branch information
makenowjust committed Mar 8, 2023
2 parents 57d27e3 + 9521c47 commit f3fdf5f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,13 @@ jobs:
path: packages/recheck-windows-x64/
- name: Build
run: NODE_ENV=production yarn lerna run build
- name: Publish (beta)
if: contains(github.ref, '-beta')
run: yarn lerna publish --dist-tag next ${{ needs.build.outputs.version }} --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish
if: "!contains(github.ref, '-beta')"
run: yarn lerna publish ${{ needs.build.outputs.version }} --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ThisBuild / developers := List(
url("https://quine.codes/")
)
)
ThisBuild / versionScheme := Some("early-semver")

ThisBuild / scalaVersion := "2.13.10"
ThisBuild / scalacOptions ++= Seq(
Expand Down

0 comments on commit f3fdf5f

Please sign in to comment.