File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 4
4
branches : ['**']
5
5
push :
6
6
branches : ['**']
7
- tags : [v*]
7
+ tags : [scala2- v*]
8
8
jobs :
9
9
ci :
10
10
# run on external PRs, but not on internal PRs since those will be run by push to branch
41
41
publish :
42
42
name : Publish release
43
43
needs : [ci]
44
- if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v'))
44
+ if : github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/scala2- v'))
45
45
runs-on : ubuntu-20.04
46
46
env :
47
47
STTP_NATIVE : 1
72
72
SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
73
73
- name : Extract version from commit message
74
74
run : |
75
- version=${GITHUB_REF/refs\/tags\/v/}
75
+ version=${GITHUB_REF/refs\/tags\/scala2- v/}
76
76
echo "VERSION=$version" >> $GITHUB_ENV
77
77
env :
78
78
COMMIT_MSG : ${{ github.event.head_commit.message }}
81
81
with :
82
82
config-name : release-drafter.yml
83
83
publish : true
84
- name : " v${{ env.VERSION }}"
85
- tag : " v${{ env.VERSION }}"
84
+ name : " scala2- v${{ env.VERSION }}"
85
+ tag : " scala2- v${{ env.VERSION }}"
86
86
version : " v${{ env.VERSION }}"
87
87
env :
88
88
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ val scala2_13 = "2.13.6"
5
5
val scala2 = List (scala2_12, scala2_13)
6
6
7
7
excludeLintKeys in Global ++= Set (ideSkipProject)
8
+ ThisBuild / dynverTagPrefix := " scala2-v" // a custom prefix is needed to differentiate tags between scala2 & scala3 versions
8
9
9
10
val commonSettings = commonSmlBuildSettings ++ ossPublishSettings ++ Seq (
10
11
organization := " com.softwaremill.magnolia1_2" ,
Original file line number Diff line number Diff line change 1
- sbt.version =1.5.3
1
+ sbt.version =1.5.5
Original file line number Diff line number Diff line change 1
1
addSbtPlugin(" com.eed3si9n" % " sbt-projectmatrix" % " 0.8.0" )
2
2
3
- val sbtSoftwareMillVersion = " 2.0.5 "
3
+ val sbtSoftwareMillVersion = " 2.0.6 "
4
4
addSbtPlugin(" com.softwaremill.sbt-softwaremill" % " sbt-softwaremill-common" % sbtSoftwareMillVersion)
5
5
addSbtPlugin(" com.softwaremill.sbt-softwaremill" % " sbt-softwaremill-publish" % sbtSoftwareMillVersion)
6
6
7
7
addSbtPlugin(" org.jetbrains.scala" % " sbt-ide-settings" % " 1.1.1" )
8
- addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.6.0" )
8
+ addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.6.0" )
You can’t perform that action at this time.
0 commit comments