Skip to content

Commit 76e66a4

Browse files
committed
build: unifying build scripts with dev branch
1 parent a8ecf9a commit 76e66a4

File tree

5 files changed

+40
-5
lines changed

5 files changed

+40
-5
lines changed

.github/release-drafter.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ latest: 'true'
55
prerelease: true
66
prerelease-identifier: 'beta'
77
categories:
8-
- title: '⁉️ Breaking changes'
8+
- title: '⛓️‍💥 Breaking changes'
99
labels:
1010
- 'breaking change'
1111
- 'breaking'
@@ -28,7 +28,7 @@ autolabeler:
2828
- label: 'bug'
2929
title:
3030
- '/^fix(\(.*\))?:/'
31-
change-template: '- $TITLE @$AUTHOR (#$NUMBER)<br/>$BODY'
31+
change-template: '- **$TITLE** @$AUTHOR (#$NUMBER)<br/>$BODY'
3232
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
3333
filter-by-commitish: true
3434

.github/workflows/ci-master.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,12 @@ jobs:
4343

4444
- name: Resolve new release version
4545
id: release_version
46-
uses: lukashornych/semantic-calendar-version@0f83ab20d3764a08d5746e6501f96c76f0a2d513 #v1.1.3
46+
uses: lukashornych/semantic-calendar-version@bb0a07cf0ca71a0b2b4fed52114e28092e5cac81 #v1.2.0
4747
with:
4848
prefix: 'v'
4949
year_switch_mode: 'OnMinor'
5050
minor-identifier: '/feat(?:\\([^)]+\\))?:/'
51+
hotfix-branch-pattern: 'release_.*'
5152

5253
- name: Setup Java JDK
5354
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 setup JDK 17 for building
@@ -102,7 +103,7 @@ jobs:
102103
uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0
103104
with:
104105
version: ${{ steps.release_version.outputs.version }}
105-
publish: true
106+
publish: false
106107
latest: ${{ github.ref_name == 'master' && 'true' || 'legacy' }}
107108

108109
- name: Upload dist.zip to release

.github/workflows/docker-canary.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
# https://github.com/docker/setup-qemu-action
3737
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3
3838

39+
- name: Configure QEMU
40+
# Configure QEMU for Docker Buildx, see https://github.com/docker/buildx/issues/1170#issuecomment-2424530330
41+
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
42+
3943
- name: Set up Docker Buildx
4044
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
4145
with:
@@ -61,4 +65,4 @@ jobs:
6165
tags: ${{ vars.CI_REGISTRY_USER }}/${{ env.RELEASE_IMAGE }}
6266
platforms: linux/amd64,linux/arm64/v8
6367
build-args: |
64-
EVITA_JAR_NAME=${{ env.EVITA_JAR_NAME }}
68+
EVITA_JAR_NAME=${{ env.EVITA_JAR_NAME }}

.github/workflows/docker-latest.yml

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ jobs:
4242
# https://github.com/docker/setup-qemu-action
4343
uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3
4444

45+
- name: Configure QEMU
46+
# Configure QEMU for Docker Buildx, see https://github.com/docker/buildx/issues/1170#issuecomment-2424530330
47+
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
48+
4549
- name: Set up Docker Buildx
4650
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
4751
with:

.github/workflows/release.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This job notifies internal Mattermost channel about the release
2+
3+
name: Notify Mattermost on Release
4+
5+
on:
6+
release:
7+
types: [published]
8+
9+
jobs:
10+
notify:
11+
# Ensure we only have read access to the repo
12+
permissions:
13+
contents: read
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Send message to Mattermost
17+
uses: mattermost/action-mattermost-notify@b7d118e440bf2749cd18a4a8c88e7092e696257a # v2.0.0
18+
with:
19+
MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_WEBHOOK_URL }}
20+
PAYLOAD: |-
21+
{
22+
"text": "## 🎉 evitaDB ${{ github.event.release.tag_name }} released!\n\n**Release Notes**:\\n${{ github.event.release.body }}",
23+
"color":"#31bf2c",
24+
"username": "${{ github.triggering_actor }}",
25+
"icon": "https://raw.githubusercontent.com/FgForrest/evitaDB/dev/documentation/assets/img/evita.png"
26+
}

0 commit comments

Comments
 (0)