-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
co-authored-by: ManApart <[email protected]>
- Loading branch information
1 parent
8462b12
commit 7c9f2f4
Showing
7 changed files
with
56 additions
and
50 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,22 @@ | ||
language: elixir | ||
elixir: | ||
- '1.8.1' | ||
otp_release: | ||
- '21.3' | ||
install: | ||
- mix local.rebar --force; | ||
- mix local.hex --force | ||
- mix deps.get | ||
- mix format --check-formatted | ||
- mix credo | ||
script: | ||
- mix test | ||
deploy: | ||
skip_cleanup: true | ||
provider: script | ||
script: bash scripts/deploy.sh | ||
on: | ||
tags: true | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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,4 @@ | ||
#! /bin/bash | ||
echo "Running deploy script...." | ||
# Relies on HEX_API_KEY environment varibale. | ||
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,13 @@ | ||
#! /bin/bash | ||
current_version=$(mix hex.build | grep 'Version:' | awk '{print $2}') | ||
echo "Current Application Version is: " $current_version | ||
read -p "Enter new version number: " new_version | ||
files=( | ||
mix.exs | ||
README.md | ||
) | ||
for file in "${files[@]}"; do | ||
sed -i '' "s/$current_version/$new_version/g" "$file" | ||
done | ||
|
||
echo "You will need commit the changed files" |