Skip to content

Commit

Permalink
build: don't copy jvmopts in publish workflow (#332)
Browse files Browse the repository at this point in the history
* because then it will bump the version and not match the tag
  • Loading branch information
patriknw authored Dec 14, 2022
1 parent 805844e commit 2137570
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- main
tags: ["*"]
tags: [ "*" ]

permissions:
contents: read
Expand All @@ -31,7 +31,6 @@ jobs:

- name: Publish
run: |-
cp .jvmopts-ci .jvmopts
sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down Expand Up @@ -64,7 +63,6 @@ jobs:
echo $SCP_SECRET | base64 -d > /tmp/id_rsa
chmod 600 /tmp/id_rsa
ssh-add /tmp/id_rsa
cp .jvmopts-ci .jvmopts
sbt docs/publishRsync
env:
SCP_SECRET: ${{ secrets.SCP_SECRET }}

0 comments on commit 2137570

Please sign in to comment.