Skip to content

Commit

Permalink
🔖 [RELEASE] Modules: core, effects, resources, components, release
Browse files Browse the repository at this point in the history
(sorry for this mess :crying:)

Signed-off-by: palexdev <[email protected]>
  • Loading branch information
palexdev committed Jun 7, 2024
1 parent 2b9c717 commit 4f0be17
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
github: palexdev
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
ko_fi: palexdev
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ jobs:

- name: Get Last Commit
run: |
$val = git show --pretty=format:"%s" -s HEAD
echo "MESSAGE=$val" >> $env.GITHUB_ENV
$tmp = git show --pretty=format:"%s" -s HEAD
New-Item -Path Env:\CommitMessage -Value $tmp
shell: pwsh

- name: Check Last Commit
id: check_commit
run: |
if ($env:LAST_COMMIT_TITLE -match '\[RELEASE\]') {
$tmp = Get-Item env:CommitMessage
if ($tmp -match '\[RELEASE\]') {
echo "::set-output name=executable::true"
} else {
echo "::set-output name=executable::false"
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ jobs:

- name: Get Last Commit
run: |
$val = git show --pretty=format:"%s" -s HEAD
echo "MESSAGE=$val" >> $env.GITHUB_ENV
$tmp = git show --pretty=format:"%s" -s HEAD
New-Item -Path Env:\CommitMessage -Value $tmp
shell: pwsh

- name: Check Last Commit
id: check_commit
run: |
if ($env:LAST_COMMIT_TITLE -match '\[RELEASE\]') {
$tmp = Get-Item env:CommitMessage
if ($tmp -match '\[RELEASE\]') {
echo "::set-output name=executable::true"
} else {
echo "::set-output name=executable::false"
Expand All @@ -32,8 +33,8 @@ jobs:
- name: Extract Modules from Commit Message
id: extract_modules
run: |
$commitMessage = $env:LAST_COMMIT_TITLE
if ($commitMessage -match '\[RELEASE\] Modules: (.*)') {
$tmp = Get-Item env:CommitMessage
if ($tmp -match '\[RELEASE\] Modules: (.*)') {
$modules = $matches[1] -split ', '
echo "::set-output name=modules::$($modules -join ',')"
} else {
Expand Down

0 comments on commit 4f0be17

Please sign in to comment.