Skip to content

Commit

Permalink
Update publish build
Browse files Browse the repository at this point in the history
  • Loading branch information
jm-mailosaur committed Jun 10, 2020
1 parent 2b4ede5 commit 849c339
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
uses: actions/setup-ruby@v1
with:
version: 2.6.x

- name: Version
run: |
version=`git describe --abbrev=0 --tags` &&
sed -i s/\[0-9]\.\[0-9]\.\[0-9]/$version/ lib/Mailosaur/version.rb
- name: Publish to RubyGems
run: |
mkdir -p $HOME/.gem
Expand Down

0 comments on commit 849c339

Please sign in to comment.