File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 # The USERNAME and TOKEN need to correspond to the credentials environment variables used in
2525 # the publishing section of your build.gradle
2626 - name : Publish to GitHub Packages
27- run : gradle :create-plugin:publish --info
27+ run : |
28+ NEW_VERSION=$(echo "${GITHUB_REF}" | cut -d "/" -f3)
29+ echo "New version: ${NEW_VERSION}"
30+ gradle -Pversion=${NEW_VERSION} :create-plugin:publish --info
2831 env :
2932 USERNAME : ${{ github.actor }}
3033 TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ publishing {
6565 repositories {
6666 maven {
6767 name = " GitHubPackages"
68- url = uri(" https://maven.pkg.github.com/" )
68+ url = uri(" https://maven.pkg.github.com/HappyValleyIO/sql-parser-plugin " )
6969 credentials {
70- username = project . findProperty( " gpr.user " ) ?: System . getenv(" USERNAME" )
71- password = project . findProperty( " gpr.key " ) ?: System . getenv(" TOKEN" )
70+ username = System . getenv(" USERNAME" )
71+ password = System . getenv(" TOKEN" )
7272 }
7373 }
7474 }
Original file line number Diff line number Diff line change @@ -4,3 +4,5 @@ JVM_TARGET_VERSION=1.8
44ARROW_VERSION =0.10.4
55ARROW_META_VERSION =1.3.61-SNAPSHOT
66SHADOW_JAR_VERSION =5.2.0
7+
8+ version =v0.1.2
You can’t perform that action at this time.
0 commit comments