Skip to content

Commit

Permalink
build: Retarget ci to 1.3.x branch (#749)
Browse files Browse the repository at this point in the history
* build: Retarget ci to 1.3.x branch
* Auto-set license url
  • Loading branch information
johanandren authored Nov 30, 2022
1 parent 57acce9 commit 98c5842
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- 1.3.x
tags-ignore: [ v.* ]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- 1.3.x
tags-ignore: [ v.* ]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-grpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- 1.3.x
tags-ignore: [ v.* ]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-jdbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- 1.3.x
tags-ignore: [ v.* ]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- 1.3.x
tags-ignore: [ v.* ]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-slick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- 1.3.x
tags-ignore: [ v.* ]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
- 1.3.x

jobs:
update_release_draft:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
branches:
- main
- 1.3.x
tags: ["*"]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- 1.3.x
tags-ignore: [ v.* ]

jobs:
Expand Down
9 changes: 6 additions & 3 deletions project/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ object Common extends AutoPlugin {
"Contributors",
"https://gitter.im/akka/dev",
url("https://github.com/akka/akka-projection/graphs/contributors")),
licenses := Seq(
("BUSL-1.1", url("https://raw.githubusercontent.com/akka/akka-projection/main/LICENSE"))
), // FIXME change s/main/v1.3.1/ when released
licenses := {
val tagOrBranch =
if (version.value.endsWith("SNAPSHOT")) "main"
else "v" + version.value
Seq(("BUSL-1.1", url(s"https://raw.githubusercontent.com/akka/akka-projection/${tagOrBranch}/LICENSE")))
},
description := "Akka Projection.",
excludeLintKeys += scmInfo,
excludeLintKeys += mimaPreviousArtifacts)
Expand Down

0 comments on commit 98c5842

Please sign in to comment.