Skip to content

Commit

Permalink
chore: add changelog and release action
Browse files Browse the repository at this point in the history
  • Loading branch information
fahchen committed Jun 28, 2024
1 parent 93573f8 commit e4f5df1
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish

on:
push:
tags:
- '*'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: erlef/setup-beam@v1
with:
version-type: strict
version-file: ".tool-versions"

- run: mix deps.get
- run: mix hex.build
- run: mix hex.publish --yes --replace
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
release-type: elixir
skip-github-release: true
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog

## 0.1.0 (2024-06-28)

### Features
First release

0 comments on commit e4f5df1

Please sign in to comment.