Skip to content

Commit 69f7942

Browse files
committed
updated sbt commands
1 parent ce6f229 commit 69f7942

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
git config user.email "${{ secrets.GIT_USER_EMAIL }}"
3030
- name: Release the specified version
3131
if: ${{ github.event.inputs.release_version != '' }}
32-
run: sbt preRelease ${{ github.event.inputs.release_version }}
32+
run: sbt "preRelease ${{ github.event.inputs.release_version }}"
3333
- name: Release new version
3434
if: ${{ github.event.inputs.release_version == '' }}
35-
run: sbt preRelease ""
35+
run: sbt "preRelease next"
3636
- name: Latest tag
3737
uses: actions-ecosystem/action-get-latest-tag@v1
3838
id: latest-tag

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ commands += Command.single("preRelease") { (state, nextVersion) =>
7777
state,
7878
)
7979

80-
if (nextVersion == "\"\"")
80+
if (nextVersion == "next")
8181
Command.process("release with-defaults", newState)
8282
else
8383
Command.process(

0 commit comments

Comments
 (0)