Skip to content

Commit

Permalink
release job adjusted for planetiler-openmaptiles
Browse files Browse the repository at this point in the history
  • Loading branch information
phanecak-maptiler committed Dec 22, 2023
1 parent 7186834 commit 6eea6cc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
version = context.payload.inputs.version;
if (/^v/.test(version)) throw new Error("Bad version number: " + version)
- uses: actions/checkout@v4
with:
submodules: true
- name: Cache data/sources
uses: ./.github/cache-sources-action
- uses: actions/setup-java@v4
Expand Down Expand Up @@ -56,9 +54,9 @@ jobs:
ref: "refs/tags/v${{ github.event.inputs.version }}",
sha: context.sha
})
- run: mv planetiler-dist/target/*with-deps.jar planetiler.jar
- run: sha256sum planetiler.jar > planetiler.jar.sha256
- run: md5sum planetiler.jar > planetiler.jar.md5
- run: mv planetiler-dist/target/*with-deps.jar planetiler-openmaptiles.jar
- run: sha256sum planetiler-openmaptiles.jar > planetiler-openmaptiles.jar.sha256
- run: md5sum planetiler-openmaptiles.jar > planetiler-openmaptiles.jar.md5
- name: Install GPG Private Key
run: |
echo -n "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | base64 --decode | gpg --batch --import
Expand All @@ -69,7 +67,7 @@ jobs:
tag_name: v${{ github.event.inputs.version }}
draft: true
files: |
planetiler.jar*
planetiler-openmaptiles.jar*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: ./scripts/push-release.sh ${{ github.event.inputs.version }}
Expand Down

0 comments on commit 6eea6cc

Please sign in to comment.