Skip to content

Commit

Permalink
finalized for release
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Jun 13, 2024
1 parent f02788e commit 957bd0b
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 18 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
contents: write
issues: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -149,19 +151,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
ref: refs/tags/v${{ env.VERSION }}

- name: Upload Release Asset
uses: sekwah41/upload-release-assets@v1
if: env.SNAPSHOT == 'false'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_name: boxlang-${{ env.VERSION }}.zip
asset_content_type: application/zip
asset_path: |
build/distributions/**
changelog.md
- name: Inform Slack
if: ${{ always() }}
uses: rtCamp/action-slack-notify@v2
Expand All @@ -184,7 +173,9 @@ jobs:
needs: [build]
permissions:
checks: write
pull-requests: write
contents: write
issues: write
steps:
- name: Checkout Development Repository
uses: actions/checkout@v4
Expand All @@ -196,6 +187,11 @@ jobs:
uses: actions/checkout@v4
if: env.LTS == 'true'

- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
gradle-version: ${{ env.GRADLE }}

- name: Download build artifacts
uses: actions/download-artifact@v4
with:
Expand All @@ -210,9 +206,9 @@ jobs:
run: |
if [ $LTS == 'true' ]
then
./gradlew bumpPatchVersion --stacktrace --console=plain
gradle bumpPatchVersion --stacktrace --console=plain
else
./gradlew bumpMinorVersion --stacktrace --console=plain
gradle bumpMinorVersion --stacktrace --console=plain
fi
git pull
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
secrets: inherit
permissions:
checks: write
pull-requests: write
contents: write
issues: write
with:
snapshot: true
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ task downloadBoxLang( type: Download ) {
*/
project.ext.bumpVersion = { boolean major = false, boolean minor = false, boolean patch = false ->

def propertiesFile = file( '../gradle.properties' );
def propertiesFile = file( './gradle.properties' );
def properties = new Properties();

properties.load( propertiesFile.newDataInputStream() )
Expand Down
2 changes: 0 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.0] => 2024-APR-05

* First iteration of this module

0 comments on commit 957bd0b

Please sign in to comment.