Skip to content

Commit

Permalink
Restore RubyGems step
Browse files Browse the repository at this point in the history
  • Loading branch information
mscwilson committed Sep 13, 2021
1 parent c32b6d1 commit 71d1851
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/deploy.yml
Expand Up @@ -42,6 +42,17 @@ jobs:
with:
ruby-version: 2.6

- name: Publish to RubyGems
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"

- name: Release on GitHub
uses: softprops/action-gh-release@v0.1.12
with:
Expand Down
2 changes: 1 addition & 1 deletion lib/snowplow-tracker/version.rb
Expand Up @@ -14,6 +14,6 @@
# License:: Apache License Version 2.0

module SnowplowTracker
VERSION = '0.7.0-alpha.1'
VERSION = '0.7.0-alpha.2'
TRACKER_VERSION = "rb-#{VERSION}"
end

0 comments on commit 71d1851

Please sign in to comment.