Skip to content

Commit

Permalink
fixed an issue with publishing release artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Rich Fecher <[email protected]>
  • Loading branch information
rfecher committed Dec 11, 2020
1 parent e0ebfc2 commit f1dac6d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
- publish-fix
env:
DEV_RESOURCES_VERSION: 1.7
MAVEN_OPTS: "-XX:CompressedClassSpaceSize=256m -XX:+UseSerialGC -Xmx2g -XX:MaxMetaspaceSize=512m -Dorg.slf4j.simpleLogger.defaultLogLevel=warn"
Expand Down Expand Up @@ -36,10 +37,16 @@ jobs:
with:
key: ${{ runner.os }}-Publish
path: ~/.m2

- name: Install Local Artifacts
run: mvn install -B -DskipTests -Dspotbugs.skip

- name: Publish Artifacts
run: ./.utility/publish-artifacts.sh

uses: gabrielfalcao/pyenv-action@v5
with:
default: 3.7.1
command: ./.utility/publish-artifacts.sh

- name: Generate Changelog
uses: heinrichreimer/[email protected]
with:
Expand All @@ -52,9 +59,6 @@ jobs:

- name: Build HTML Docs
run: mvn -P html -pl docs install -DskipTests -Dspotbugs.skip

- name: Install Local Artifacts
run: mvn install -B -DskipTests -Dspotbugs.skip

- name: Build Aggregate Javadocs
run: mvn javadoc:aggregate -B -DskipTests -Dspotbugs.skip
Expand Down
4 changes: 2 additions & 2 deletions .utility/publish-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ if ! curl --head --silent --fail https://oss.sonatype.org/service/local/reposit
mvn deploy --settings ../.utility/.maven.xml -DskipTests -Dspotbugs.skip -B -U -Prelease
popd
fi
echo -e "Deploying geowave artifacts..."
mvn deploy --settings .utility/.maven.xml -DskipTests -Dspotbugs.skip -B -U -Prelease
# echo -e "Deploying geowave artifacts..."
# mvn deploy --settings .utility/.maven.xml -DskipTests -Dspotbugs.skip -B -U -Prelease

# Get the version from the build.properties file
filePath=deploy/target/classes/build.properties
Expand Down

0 comments on commit f1dac6d

Please sign in to comment.