Skip to content

Commit

Permalink
Attempt to automate hex publish
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed Aug 23, 2021
1 parent e9eb2f1 commit e3cdf58
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
tags:
- '*'

jobs:
publish:
if: "github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')"
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2

- name: Publish to Hex.pm
uses: erlangpack/github-action@v1
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version 2.22.0 released XXXX-XX-XX
Version 2.22.0 released 2021-08-23

* Renamed master branch to main
* Add unquote_path/1 for separate '+' encoding
Expand Down

0 comments on commit e3cdf58

Please sign in to comment.