Skip to content

Commit

Permalink
Fix broken publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
rzane committed Oct 13, 2020
1 parent a57de89 commit dc20be0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/publish
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ if [ $# -ne 1 ]; then
exit 1
fi

perl -pi -e "s/version: \"0.0.0\"/version: \"$1\"/" mix.exs
perl -pi -e "s/@version \"0.0.0\"/@version \"$1\"/" mix.exs
mix hex.publish --yes
6 changes: 2 additions & 4 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule FileStore.MixProject do
use Mix.Project

@source_url "https://github.com/rzane/file_store"
@version "0.2.0"
@version "0.0.0"

def project do
[
Expand Down Expand Up @@ -57,9 +57,7 @@ defmodule FileStore.MixProject do
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url,
extras: [
"README.md"
]
extras: ["README.md"]
]
end
end

0 comments on commit dc20be0

Please sign in to comment.