Skip to content

Commit

Permalink
fixup! build(lapis2): use Release Please to generate releases
Browse files Browse the repository at this point in the history
  • Loading branch information
fengelniederhammer committed May 6, 2024
1 parent 8d67486 commit 64c2e3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release-lapis2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,14 @@ jobs:
check-name: Build Docs Docker Image And Run E2E Tests
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Tag Already Built Image With Release Tags
- name: Tag Already Built Images With Release Tags
if: ${{ steps.release.outputs.release_created }}
run: |
MAJOR=${{ steps.release.outputs.major }}
MINOR=${{ steps.release.outputs.minor }}
PATCH=${{ steps.release.outputs.patch }}
TAGS=("$MAJOR.$MINOR" "$MAJOR.$MINOR.$PATCH")
# TODO (#add-ticket!!!!) include $MAJOR only for releases >= 1.0
# TAGS=("$MAJOR" "$MAJOR.$MINOR" "$MAJOR.$MINOR.$PATCH") - don't include major-only for pre-1.0
IMAGES=("${{ env.LAPIS_DOCKER_IMAGE_NAME }}" "${{ env.DOCS_DOCKER_IMAGE_NAME }}")
Expand Down
2 changes: 1 addition & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"include-component-in-tag": true,
"packages": {
"lapis2": {
"release-type": "java",
"release-type": "simple",
"extra-files": [
"build.gradle"
]
Expand Down

0 comments on commit 64c2e3f

Please sign in to comment.