diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2096000b..195397c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ on: branches: ['**'] push: branches: ['**'] - tags: [v*, snapshot*] + tags: [v*] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -61,7 +61,7 @@ jobs: publish: name: Publish Artifacts needs: [build] - if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/tags/snapshot')) + if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v')) strategy: matrix: os: [ubuntu-latest] diff --git a/build.sbt b/build.sbt index e5831aa2..b2dc23dc 100644 --- a/build.sbt +++ b/build.sbt @@ -22,10 +22,8 @@ inThisBuild( name = "commercetools", email = "ondemand@commercetools.com", url = url("https://commercetools.com"))), - githubWorkflowTargetTags ++= Seq("v*", "snapshot*"), - githubWorkflowPublishTargetBranches := Seq( - RefPredicate.StartsWith(Ref.Tag("v")), - RefPredicate.StartsWith(Ref.Tag("snapshot"))), + githubWorkflowTargetTags ++= Seq("v*"), + githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v"))), githubWorkflowPublish := Seq(WorkflowStep.Sbt( List("ci-release"), env = Map(