Skip to content

Commit fac9d56

Browse files
committed
NBM CI: build RELEASE280/290 with install (not deploy) to avoid duplicate Central publish; only RELEASE300 deploys 1.9.9
1 parent c57e137 commit fac9d56

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/maven.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ jobs:
402402
- name: Build with RELEASE280
403403
run: |
404404
sed -i "s/<next.version>.*<\/next.version>/<next.version>${{ env.RELEASE_VERSION }}-280<\/next.version>/" pom.xml
405-
mvn -B clean deploy -Dnetbeans.release.version=RELEASE280
405+
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE280
406406
cp target/nbm/python-${{ env.RELEASE_VERSION }}-280.nbm target/nbm/python-RELEASE280-${{ env.RELEASE_VERSION }}.nbm
407407
cp target/nbm/python-${{ env.RELEASE_VERSION }}-280.jar target/nbm/python-RELEASE280-${{ env.RELEASE_VERSION }}.jar 2>/dev/null || true
408408
echo "SIZE_280=$(wc -c target/nbm/python-RELEASE280-${{ env.RELEASE_VERSION }}.nbm | awk '{print $1}')" >> $GITHUB_ENV
@@ -416,7 +416,7 @@ jobs:
416416
- name: Build with RELEASE290
417417
run: |
418418
sed -i "s/<next.version>.*<\/next.version>/<next.version>${{ env.RELEASE_VERSION }}-290<\/next.version>/" pom.xml
419-
mvn -B clean deploy -Dnetbeans.release.version=RELEASE290
419+
mvn -B clean install -P dev -Dnetbeans.release.version=RELEASE290
420420
cp target/nbm/python-${{ env.RELEASE_VERSION }}-290.nbm target/nbm/python-RELEASE290-${{ env.RELEASE_VERSION }}.nbm
421421
cp target/nbm/python-${{ env.RELEASE_VERSION }}-290.jar target/nbm/python-RELEASE290-${{ env.RELEASE_VERSION }}.jar 2>/dev/null || true
422422
echo "SIZE_290=$(wc -c target/nbm/python-RELEASE290-${{ env.RELEASE_VERSION }}.nbm | awk '{print $1}')" >> $GITHUB_ENV

0 commit comments

Comments
 (0)