Skip to content

Commit 0adc377

Browse files
author
Bijan Chokoufe Nejad
committed
Set version ourselves again
1 parent 4536fac commit 0adc377

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
unzip -d project/.gnupg keys.zip
2828
mkdir -p ~/.sbt/1.0
2929
echo $SONATYPE_SBT > ~/.sbt/1.0/sonatype.sbt
30+
- name: Setup version in SBT
31+
run: |
32+
VERSION=${GITHUB_REF/refs\/tags\//}
33+
echo $VERSION
34+
sed "s/unstable-SNAPSHOT/${VERSION}/" build.sbt > build.sbt.2
35+
mv build.sbt.2 build.sbt
3036
- name: Test & Release
3137
run: |
3238
VERSION=${GITHUB_REF/refs\/tags\//}

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import ScalaOptions._
33

44
ThisBuild / organization := "com.enfore"
55
ThisBuild / crossScalaVersions := supportedVersions
6+
ThisBuild / version := "unstable-SNAPSHOT"
67
fork in Test in ThisBuild := true
78

89
lazy val http4s = Seq(http4sCore, http4sDsl, http4sCirce, http4sServer)

0 commit comments

Comments
 (0)