Skip to content

Commit aebe590

Browse files
committed
Patch Apache Atlas if necessary
1 parent 3de587f commit aebe590

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

.github/workflows/compile-release.yml

+8
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ jobs:
5151
gpg --verify apache-atlas.tar.gz.asc apache-atlas.tar.gz
5252
tar zxf apache-atlas.tar.gz
5353
54+
- name: Patch Apache Atlas ${{ matrix.version }}
55+
id: patch-atlas
56+
run: |
57+
ls -la
58+
if [[ -f "$(pwd)/patches/${{ matrix.version }}.sh" ]]; then
59+
$(pwd)/patches/${{ matrix.version }}.sh "$(pwd)/apache-atlas-sources-${{ matrix.version }}"
60+
fi
61+
5462
- name: Set up JDK 1.8
5563
uses: actions/[email protected]
5664
with:

patches/2.3.0.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
set -euxo pipefail
4+
5+
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6+
7+
ATLAS_PATH=$1
8+
9+
patch --verbose "${ATLAS_PATH}/pom.xml" "${CURRENT_DIR}/2.3.0/pom.xml.patch"

patches/2.3.0/pom.xml.patch

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
888a889,893
2+
> <repository>
3+
> <id>maven-restlet</id>
4+
> <name>Public online Restlet repository</name>
5+
> <url>https://maven.restlet.talend.com/</url>
6+
> </repository>

0 commit comments

Comments
 (0)