Skip to content

Commit

Permalink
fix: publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Vratislav committed Jun 20, 2020
1 parent 082a1f2 commit 700fe70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ jobs:
run: yarn test
- name: Build
run: yarn build
- name: Publish Info
- name: Publish Git preparation
run: |
echo Publishing as version ${GITHUB_REF##*/v}
# This is to silence the GIT gods. Yarn cannot publish without a version bump (that would invoke git with empty credentials)
# This is to appease the GIT gods. Yarn cannot publish without a version bump (that would invoke git with empty credentials)
git config --global user.email "[email protected]"
git config --global user.name "Foo Bar"
git tag -d ${GITHUB_REF##*/}
- name: Publish
run: yarn publish --new-version ${GITHUB_REF##*/v} --verbose
env:
Expand Down

0 comments on commit 700fe70

Please sign in to comment.