Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
Update CHANGELOG & version for release and publish to Hex
Browse files Browse the repository at this point in the history
  • Loading branch information
OldhamMade committed Feb 3, 2021
1 parent 8c9019f commit 260b818
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: actions/setup-elixir@v1
uses: erlef/setup-elixir@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
# steps:
# - uses: actions/checkout@v2
# - name: Set up Elixir
# uses: actions/setup-elixir@v1
# uses: erlef/setup-elixir@v1
# with:
# elixir-version: '1.11.x'
# otp-version: '23.2.1'
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: actions/setup-elixir@v1
uses: erlef/setup-elixir@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Elixir
uses: actions/setup-elixir@v1
uses: erlef/setup-elixir@v1
with:
elixir-version: ${{matrix.elixir}}
otp-version: ${{matrix.otp}}
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
uses: EndBug/add-and-commit@v7
with:
add: '["mix.exs", "CHANGELOG.md"]'
message: "Update CHANGELOG & version in preparation for release"
message: "Update CHANGELOG & version for release"
push: true

- name: "[Release] Delete temporary tag"
Expand All @@ -104,5 +104,16 @@ jobs:
draft: false
prerelease: false

- name: "[Release] Setup Elixir for Publishing to Hex.pm"
uses: erlef/setup-elixir@v1
with:
elixir-version: 1.11.x
otp-version: 23.x

- name: "[Release] Publish to Hex.pm"
uses: erlangpack/github-action@v1
run: |
mix local.hex --force
mix local.rebar --force
mix do deps.get, deps.compile
mix hex.build
mix hex.publish --yes
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ Generated by [Git Changelog](https://github.com/uptech/git-cl).
## Unreleased - now


## [0.1.7] - 2021-02-03

### Added
- check for priv_dir existance.


## [0.1.6] - 2021-01-30

### Added
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule PhoenixSass.MixProject do
use Mix.Project

@version "0.1.6"
@version "0.1.7"

@description "Auto-compile Sass to CSS within Phoenix projects without NodeJS"
@repo_url "https://github.com/OldhamMade/phoenix_sass"
Expand Down

0 comments on commit 260b818

Please sign in to comment.