Skip to content

Commit

Permalink
undo publishing experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
tillcoco committed Dec 22, 2023
1 parent 010bb00 commit 81d87b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
branches: ['**']
push:
branches: ['**']
tags: [v*, snapshot*]
tags: [v*]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -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]
Expand Down
6 changes: 2 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ inThisBuild(
name = "commercetools",
email = "[email protected]",
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(
Expand Down

0 comments on commit 81d87b5

Please sign in to comment.