mirror of
https://github.com/Snowflake-Labs/dlsync.git
synced 2025-12-18 00:51:27 +00:00
Updated github release action and updated readme
This commit is contained in:
25
.github/workflows/release.yml
vendored
25
.github/workflows/release.yml
vendored
@@ -6,20 +6,41 @@ on:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
tag:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'temurin'
|
||||
- name: Set variables
|
||||
run: |
|
||||
export VERSION=$(grep "^releaseVersion=" gradle.properties | awk -F"=" '{ print $2 }')
|
||||
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||
- name: Setup Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew clean build
|
||||
- name: setup git config
|
||||
run: |
|
||||
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
|
||||
git config user.name "GitHub Actions Bot"
|
||||
git config user.email "<>"
|
||||
- name: tagging
|
||||
- name: Create tag
|
||||
run: |
|
||||
git tag -a v${{ env.VERSION }} -m "version ${{ env.VERSION }}"
|
||||
git push origin v${{ env.VERSION }}
|
||||
- name: Create GitHub Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: v${{ env.VERSION }}
|
||||
name: Release v${{ env.VERSION }}
|
||||
generate_release_notes: true
|
||||
files: |
|
||||
build/libs/dlsync-${{ env.VERSION }}.jar
|
||||
draft: true
|
||||
prerelease: false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
# DLSync Changelog
|
||||
|
||||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
## [2.4.2] - 2025-09-03
|
||||
### Updated
|
||||
- Github action for release
|
||||
- Updated readme for private key authentication
|
||||
## [2.4.1] - 2025-08-22
|
||||
### Fixed
|
||||
- Fixed issue for encrypted private key files
|
||||
|
||||
@@ -291,8 +291,8 @@ connection:
|
||||
db: # snowflake database
|
||||
schema: # snowflake schema
|
||||
authenticator: # snowflake authenticator(optional)
|
||||
private_key_file: # snowflake p8 file
|
||||
private_key_file_pwd: # password for private key file
|
||||
private_key_file: # snowflake p8 file (optional)
|
||||
private_key_pwd: # password for private key file (optional)
|
||||
```
|
||||
The `configTables` is used by create script module to add the data of the tables to the script file.
|
||||
The `scriptExclusion` is used to exclude the script files from being processed by this tool.
|
||||
|
||||
@@ -1 +1 @@
|
||||
releaseVersion=2.4.1
|
||||
releaseVersion=2.4.2
|
||||
Reference in New Issue
Block a user