Skip to content

Commit

Permalink
Trigger build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mysterypotatoguy committed Oct 17, 2022
1 parent 61ec713 commit fca939d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,18 @@ jobs:
Version ${{ steps.read-version.outputs.version }}
draft: true
prerelease: false
- name: Create shaded jar for release
- name: Create Jar files for release
if: ${{ !endsWith(steps.read-version.outputs.version, 'SNAPSHOT') }}
run: |
java --version
./gradlew shadowJar
- name: Upload Jars to Release
if: ${{ !endsWith(steps.read-version.outputs.version, 'SNAPSHOT') }}
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: v${{ steps.read-version.outputs.version }}
file: build/libs/javacord-${{ steps.read-version.outputs.version }}-shaded.jar
- name: Update Release Version
if: ${{ !endsWith(steps.read-version.outputs.version, 'SNAPSHOT') }}
run: |
Expand All @@ -46,13 +54,6 @@ jobs:
git add gradle.properties
git commit -am "Increment patch version and append -SNAPSHOT suffix"
git push --set-upstream origin release-v${{ steps.read-version.outputs.version }}
- name: Upload shaded jar to release
if: ${{ !endsWith(steps.read-version.outputs.version, 'SNAPSHOT') }}
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: v${{ steps.read-version.outputs.version }}
file: ${{ github.workspace }}/build/libs/javacord-${{ steps.read-version.outputs.version }}-shaded.jar
- name: Create Release Pull Request
if: ${{ !endsWith(steps.read-version.outputs.version, 'SNAPSHOT') }}
id: cpr
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# the whole org.gradle.jvmargs line can be removed after that is fixed
org.gradle.jvmargs = -Duser.language=en -Xmx512m -XX:MaxMetaspaceSize=256m
org.gradle.caching = true
version = 3.6.7
version = 3.6.8

0 comments on commit fca939d

Please sign in to comment.