diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 231fb53..b7236af 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -21,9 +21,8 @@ jobs: - id: version name: version run: | - echo ${{github.event.head_commit.message}} - major=${{contains(github.event.head_commit.message, '[major]')}} - minor=${{contains(github.event.head_commit.message, '[minor]')}} + major=${{startsWith(github.event.head_commit.message, '[major]')}} + minor=${{startsWith(github.event.head_commit.message, '[minor]')}} echo "major: " $major echo "minor: " $minor diff --git a/.gitignore b/.gitignore index 0a36546..1ebc885 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,8 @@ .idea/**/gradle.xml .idea/**/libraries +.idea + # Gradle and Maven with auto-import # When using Gradle or Maven with auto-import, you should exclude module files, # since they will be recreated, and may cause churn. Uncomment if using @@ -78,3 +80,5 @@ fabric.properties .idea/caches/build_file_checksums.ser .foundry +dist +node_modules