File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,11 +91,14 @@ generate_checksums() {
9191publish_to_maven () {
9292 echo " Publishing artifacts to Maven repository..."
9393
94- # Navigate to build directory and copy artifacts
94+ # Make a temp directory for publish-snapshot.sh
95+ mkdir -p build/resources/publish/
96+ cp build/publish/publish-snapshot.sh build/resources/publish/
97+ chmod +x build/resources/publish/publish-snapshot.sh
98+
99+ # Continue with the original flow
95100 cd build/resources/publish/
96101 cp -a $HOME /.m2/repository/* ./
97-
98- # Run the publish script
99102 ./publish-snapshot.sh ./
100103
101104 echo " Maven publishing completed"
Original file line number Diff line number Diff line change 7171
7272 - uses : actions/checkout@v4
7373 with :
74- repository : ' opensearch-project/opensearch-build-libraries '
74+ repository : ' opensearch-project/opensearch-build'
7575 path : ' build'
7676
7777 - name : Install required tools
Original file line number Diff line number Diff line change 7070
7171 - uses : actions/checkout@v4
7272 with :
73- repository : ' opensearch-project/opensearch-build-libraries '
73+ repository : ' opensearch-project/opensearch-build'
7474 path : ' build'
7575
7676 - name : Install required tools
You can’t perform that action at this time.
0 commit comments