ci: update workflow release

This commit is contained in:
2025-06-22 20:58:46 -07:00
parent cd33470b12
commit 29c1b6286f

View File

@@ -53,8 +53,8 @@ on:
type: string type: string
# # # #
# ENABLE: the changelog generated in releases tab will only display single commits. # true the changelog generated in releases tab will only display single commits.
# DISABLE: the changelog shows pull requests completed based on their labels # false the changelog shows pull requests completed based on their labels
# # # #
CHANGELOG_MODE_COMMIT: CHANGELOG_MODE_COMMIT:
@@ -64,8 +64,8 @@ on:
type: boolean type: boolean
# # # #
# ENABLE: Will show all types of commits, including uncategorized # true Will show all types of commits, including uncategorized
# DISABLE: WIll only show actions that have been categorized using the format # false WIll only show actions that have been categorized using the format
# type(scope): description # type(scope): description
# type: description # type: description
# # # #
@@ -256,7 +256,6 @@ jobs:
# # # #
- name: '🪪 Test Next Job Version' - name: '🪪 Test Next Job Version'
id: task_release_debug_print_ver
run: | run: |
echo "VERSION: ${{ env.PACKAGE_VERSION }}" echo "VERSION: ${{ env.PACKAGE_VERSION }}"
@@ -265,7 +264,6 @@ jobs:
# # # #
- name: '🪪 NPM Install & Lint' - name: '🪪 NPM Install & Lint'
id: task_release_npm_install
working-directory: ./tvapp2 working-directory: ./tvapp2
run: | run: |
npm ci npm ci
@@ -278,7 +276,6 @@ jobs:
# # # #
- name: '🪪 Generate IDs' - name: '🪪 Generate IDs'
id: task_release_npm_env_generate
working-directory: ./tvapp2 working-directory: ./tvapp2
run: | run: |
npm run root:generate npm run root:generate
@@ -300,7 +297,6 @@ jobs:
# # # #
- name: '🪪 .ENV Read' - name: '🪪 .ENV Read'
id: task_dotenv_debug_print
run: | run: |
echo "GUID: ${{ steps.task_release_dotenv_get.outputs.GUID }}" echo "GUID: ${{ steps.task_release_dotenv_get.outputs.GUID }}"
echo "UUID: ${{ steps.task_release_dotenv_get.outputs.UUID }}" echo "UUID: ${{ steps.task_release_dotenv_get.outputs.UUID }}"
@@ -310,7 +306,6 @@ jobs:
# # # #
- name: '🔨 Build Stable ${{ env.PROJECT_NAME }}-${{ env.PACKAGE_VERSION }}.zip' - name: '🔨 Build Stable ${{ env.PROJECT_NAME }}-${{ env.PACKAGE_VERSION }}.zip'
id: task_release_build_st
if: | if: |
startsWith( inputs.RC_RELEASE, false ) || startsWith( inputs.RC_RELEASE, false ) ||
startsWith( env.RC_RELEASE, false ) startsWith( env.RC_RELEASE, false )
@@ -320,6 +315,7 @@ jobs:
echo Building STABLE Package ${{ env.PROJECT_NAME }}-${{ env.PACKAGE_VERSION }}-docker-compose.zip echo Building STABLE Package ${{ env.PROJECT_NAME }}-${{ env.PACKAGE_VERSION }}-docker-compose.zip
zip -r ${{ env.PROJECT_NAME }}-${{ env.PACKAGE_VERSION }}-docker-compose.zip docker-compose.yml README.md LICENSE zip -r ${{ env.PROJECT_NAME }}-${{ env.PACKAGE_VERSION }}-docker-compose.zip docker-compose.yml README.md LICENSE
ls
env: env:
NODE_AUTH_TOKEN: ${{ secrets.ADMINSERV_TOKEN_CL }} NODE_AUTH_TOKEN: ${{ secrets.ADMINSERV_TOKEN_CL }}
@@ -366,7 +362,6 @@ jobs:
# # # #
- name: '🔖 Tag Confirm ${{ env.PACKAGE_VERSION }}' - name: '🔖 Tag Confirm ${{ env.PACKAGE_VERSION }}'
id: task_release_tag_get
run: | run: |
echo "Tag already present: ${{ env.TAG_EXISTS }}" echo "Tag already present: ${{ env.TAG_EXISTS }}"
echo "Tag already present: ${{ steps.task_release_tag_create.outputs.tag_exists }}" echo "Tag already present: ${{ steps.task_release_tag_create.outputs.tag_exists }}"
@@ -378,7 +373,6 @@ jobs:
# # # #
- name: '🪪 GPG Import Signing Key W/o Passphrase' - name: '🪪 GPG Import Signing Key W/o Passphrase'
id: task_release_gpg_import_nopass
if: env.GPG_KEY_BASE64 != '' && env.GPG_KEY_PASSPHRASE == '' if: env.GPG_KEY_BASE64 != '' && env.GPG_KEY_PASSPHRASE == ''
run: | run: |
echo $GPG_KEY_BASE64 | base64 -di | gpg --import echo $GPG_KEY_BASE64 | base64 -di | gpg --import
@@ -390,7 +384,6 @@ jobs:
# # # #
- name: '🪪 GPG Import Signing Key w/ Passphrase' - name: '🪪 GPG Import Signing Key w/ Passphrase'
id: task_release_gpg_import_withpass
if: env.GPG_KEY_BASE64 != '' && env.GPG_KEY_PASSPHRASE != '' if: env.GPG_KEY_BASE64 != '' && env.GPG_KEY_PASSPHRASE != ''
run: | run: |
echo "$GPG_KEY_BASE64" | base64 -di > /tmp/signing-key.gpg echo "$GPG_KEY_BASE64" | base64 -di > /tmp/signing-key.gpg
@@ -472,16 +465,15 @@ jobs:
# # # #
- name: '🆔 Checksum Print' - name: '🆔 Checksum Print'
id: task_release_checksum_st_get
run: | run: |
echo "${{ env.SHA256SUM }}" echo SHA1SUM ............... ${{ env.SHA1SUM }}
echo SHA256SUM ............. ${{ env.SHA256SUM }}
# # # #
# Release Contributor Images # Release Contributor Images
# # # #
- name: '🥸 Contributors Generate' - name: '🥸 Contributors Generate'
id: task_release_contribs_generate
uses: jaywcjlove/github-action-contributors@main uses: jaywcjlove/github-action-contributors@main
with: with:
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\]) filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
@@ -491,7 +483,7 @@ jobs:
# # # #
# Release Changelog Generate Tags # Release Changelog Generate Tags
# #
# generates a changelog from the github api. requires a PREVIOUS_TAG in order to figure # generates a changelog from the github api. requires a TAG_LAST in order to figure
# out the changes made between the two versions. # out the changes made between the two versions.
# #
# outputs: # outputs:
@@ -499,7 +491,6 @@ jobs:
# # # #
- name: '📝 Changelog Pre Setup (Categorized Commits)' - name: '📝 Changelog Pre Setup (Categorized Commits)'
id: task_release_changelog_categorized_sha_set
run: | run: |
echo "TAG_LAST=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV echo "TAG_LAST=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
echo "COMMIT_LAST=$(git rev-parse HEAD)" >> $GITHUB_ENV echo "COMMIT_LAST=$(git rev-parse HEAD)" >> $GITHUB_ENV
@@ -674,7 +665,7 @@ jobs:
if: | if: |
startsWith( inputs.RC_RELEASE, false ) || startsWith( inputs.RC_RELEASE, false ) ||
startsWith( env.RC_RELEASE, false ) startsWith( env.RC_RELEASE, false )
uses: softprops/action-gh-release@v2.2.2 uses: softprops/action-gh-release@v2
env: env:
CHANGELOG_CATEGORIZED: ${{ steps.task_release_changelog_categorized.outputs.changelog }} CHANGELOG_CATEGORIZED: ${{ steps.task_release_changelog_categorized.outputs.changelog }}
CHANGELOG_UNCATEGORIZED: ${{ steps.task_release_changelog_categorized.outputs.changelog }} CHANGELOG_UNCATEGORIZED: ${{ steps.task_release_changelog_categorized.outputs.changelog }}
@@ -712,7 +703,7 @@ jobs:
if: | if: |
startsWith( inputs.RC_RELEASE, true ) || startsWith( inputs.RC_RELEASE, true ) ||
startsWith( env.RC_RELEASE, true ) startsWith( env.RC_RELEASE, true )
uses: softprops/action-gh-release@v2.2.2 uses: softprops/action-gh-release@v2
env: env:
CHANGELOG_CATEGORIZED: ${{ steps.task_release_changelog_categorized.outputs.changelog }} CHANGELOG_CATEGORIZED: ${{ steps.task_release_changelog_categorized.outputs.changelog }}
CHANGELOG_UNCATEGORIZED: ${{ steps.task_release_changelog_categorized.outputs.changelog }} CHANGELOG_UNCATEGORIZED: ${{ steps.task_release_changelog_categorized.outputs.changelog }}