File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 exclude-workflow-initiator-as-approver : true
4040 - name : Build with Gradle
4141 run : |
42- ./gradlew --no-daemon -Dbuild.snapshot=false publishNebulaPublicationToLocalRepoRepository
43- ./gradlew --no-daemon -Dbuild.snapshot=false publishPluginZipPublicationToLocalRepoRepository
42+ OS_VERSION=`./gradlew -Dbuild.snapshot=false properties | grep -iE "^version:" | cut -d: -f2 | cut -d. -f1-3 | tr -d ' '`
43+ echo "OS_VERSION $OS_VERSION"
44+ ./gradlew --no-daemon -Dbuild.snapshot=false -Dopensearch.version=$OS_VERSION publishNebulaPublicationToLocalRepoRepository
45+ ./gradlew --no-daemon -Dbuild.snapshot=false -Dopensearch.version=$OS_VERSION publishPluginZipPublicationToLocalRepoRepository
4446 tar -C build -czvf artifacts.tar.gz repository
4547 - name : Draft a release
4648 uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments