Skip to content

Commit 1391cc1

Browse files
committed
Add release workflow with sdk dependencies
1 parent a0dc67a commit 1391cc1

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,15 @@ jobs:
4646
- name: πŸ—οΈ Build JDBC Connector
4747
run: mvn clean package -DskipTests
4848

49+
- name: πŸ” Inspect build output
50+
run: ls -lh target/
51+
4952
- name: πŸ“‚ Prepare dist directory
5053
run: |
5154
mkdir dist
52-
cp target/*.jar dist/
55+
cp target/*.jar dist/ || { echo "❌ No JAR found to package."; exit 1; }
56+
cp README.md dist/ || true
57+
echo "Version: ${GITHUB_REF#refs/tags/}" > dist/VERSION.txt
5358
5459
- name: πŸ“¦ Create dist.tar.gz archive
5560
run: tar -czvf dist.tar.gz dist/

β€Žpom.xmlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
<id>apache-releases</id>
2626
<url>https://repository.apache.org/content/groups/public</url>
2727
</repository>
28-
<repository>
28+
<!-- <repository>
2929
<id>scala-tools.org</id>
3030
<name>Scala-tools Maven2 Repository</name>
3131
<url>https://oss.sonatype.org/content/groups/scala-tools</url>
32-
</repository>
32+
</repository> -->
3333
</repositories>
3434

3535
<pluginRepositories>

0 commit comments

Comments
Β (0)