From 72c05f0f07d784d0ea74765fbd14c1f0ad59e89c Mon Sep 17 00:00:00 2001 From: Dries Samyn <5557551+driessamyn@users.noreply.github.com> Date: Fri, 7 Feb 2025 16:55:54 +0000 Subject: [PATCH 1/2] build: release 1.2.0 From e244b83c34ff1de3c20e3176ac34ad4133d6e84e Mon Sep 17 00:00:00 2001 From: Dries Samyn <5557551+driessamyn@users.noreply.github.com> Date: Fri, 7 Feb 2025 17:19:44 +0000 Subject: [PATCH 2/2] build: fix up release build --- .github/workflows/gh-publish.yml | 4 ++++ .github/workflows/mc-publish.yml | 11 ++++------- .gitignore | 9 ++++++++- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gh-publish.yml b/.github/workflows/gh-publish.yml index ded0bb6..0f02ae0 100644 --- a/.github/workflows/gh-publish.yml +++ b/.github/workflows/gh-publish.yml @@ -30,6 +30,10 @@ jobs: distribution: 'zulu' - name: Setup Gradle uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 + - name: Git Status + run: git status + - name: Untracked changes + run: git ls-files . --exclude-standard --others - name: Print version run: ./gradlew printSemVersion --info - name: Print Changelog diff --git a/.github/workflows/mc-publish.yml b/.github/workflows/mc-publish.yml index d71eb39..4efa055 100644 --- a/.github/workflows/mc-publish.yml +++ b/.github/workflows/mc-publish.yml @@ -26,18 +26,15 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Show changes - run: git status - name: History run: git --no-pager log -n 100 --oneline - name: Tags run: git show-ref --tags - name: Print version run: ./gradlew printSemVersion --info - - name: Show changes again + - name: Show changes run: git status - # TODO: remove the noDirtyCheck property once figured out why this thinks the working directory is dirty - - name: Print version (no dirty check) - run: ./gradlew -PnoDirtyCheck=true printSemVersion --info + - name: Untracked changes + run: git ls-files . --exclude-standard --others - name: Publish package - run: ./gradlew -PnoDirtyCheck=true :kapper:deployCentralPortal :kapper-coroutines:deployCentralPortal --info + run: ./gradlew :kapper:deployCentralPortal :kapper-coroutines:deployCentralPortal --info diff --git a/.gitignore b/.gitignore index 3d2e197..fb05a54 100644 --- a/.gitignore +++ b/.gitignore @@ -28,5 +28,12 @@ replay_pid* # Ignore Gradle build output directory build + +# Ignore IntelliJ project files /.idea -.qodo \ No newline at end of file + +# Ignore Qodo +.qodo + +# SonarQube +.scannerwork/ \ No newline at end of file