-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3397781
commit 40c7f1d
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: v1.0 | ||
name: Release to Hex | ||
|
||
agent: | ||
machine: | ||
type: e1-standard-2 | ||
os_image: ubuntu1804 | ||
|
||
blocks: | ||
- name: Build and Release | ||
task: | ||
secrets: | ||
- name: elixir-hex-api-key | ||
jobs: | ||
- name: Elixir Build and Release | ||
commands: | ||
- checkout | ||
- sem-version elixir 1.11.4 | ||
- mix local.hex --force | ||
- mix local.rebar --force | ||
- mix deps.get | ||
- mix compile | ||
- mix hex.publish --yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: v1.0 | ||
name: Elixir | ||
|
||
agent: | ||
machine: | ||
type: e1-standard-2 | ||
os_image: ubuntu1804 | ||
|
||
blocks: | ||
- name: Run Tests 👩🏽🔬 | ||
task: | ||
jobs: | ||
- name: Elixir Tests | ||
commands: | ||
- checkout | ||
- sem-version elixir 1.11.4 | ||
- mix local.hex --force | ||
- mix local.rebar --force | ||
- mix deps.get | ||
- mix test | ||
|
||
promotions: | ||
- name: Release to Hex 🚀 | ||
pipeline_file: .semaphore/release_to_hex.yml |