diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01e4f8e..331a461 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,11 +15,11 @@ jobs: matrix: include: - otp: "27.1" - rebar3: 3.24.0 + rebar3: "3.24.0" os: ubuntu-latest - otp: "26.2.5" - rebar3: 3.24.0 + rebar3: "3.24.0" os: ubuntu-latest steps: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f3a78cd..a5773ed 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,14 +9,19 @@ jobs: runs-on: ubuntu-latest steps: - - name: Check out - uses: actions/checkout@v3 + - uses: erlef/setup-beam@v1 + with: + otp-version: "27.1" + rebar3-version: "3.24.0" - name: Setup rebar3 hex run: | mkdir -p ~/.config/rebar3/ echo "{plugins, [rebar3_hex]}." >> ~/.config/rebar3/rebar.config + - name: Check out + uses: actions/checkout@v3 + - name: Publish to Hex.pm env: HEX_API_KEY: ${{ secrets.HEX_API_KEY }} diff --git a/src/sqlc.app.src b/src/sqlc.app.src index 1a0f152..5ac0834 100644 --- a/src/sqlc.app.src +++ b/src/sqlc.app.src @@ -1,6 +1,6 @@ {application, sqlc, [ {description, "SQL compiler for Erlang"}, - {vsn, git}, + {vsn, "0.1.0"}, {applications, [ kernel, stdlib, @@ -11,6 +11,8 @@ {env,[]}, {modules, []}, - {licenses, ["Apache 2.0"]}, - {links, []} + {licenses, ["Apache-2.0"]}, + {links, [ + {"GitHub", "https://github.com/kopera/erlang-sqlc"} + ]} ]}.