just use time

This commit is contained in:
paul sealock 2023-11-28 12:33:48 +13:00
parent f4b788028f
commit cb3ed643c0
1 changed files with 2 additions and 6 deletions

View File

@ -32,11 +32,7 @@ jobs:
- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d_%H:%M')" >> $GITHUB_OUTPUT
- name: Get branch name package parameter
id: branch_package_name
run: echo 'name=$("${{ github.event.inputs.packages }}" | sed "s/,/-/")' >> $GITHUB_OUTPUT
run: echo "date=$(date +'%Y-%m-%d-%H-%M')" >> $GITHUB_OUTPUT
- name: Set all package string
id: all_description
@ -53,7 +49,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'Automated change: Prep ${{ steps.all_description.outputs.str || steps.specific_description.outputs.str }} for release.'
branch: release/packages-${{ steps.date.outputs.date }}-${{ steps.branch_package_name.outputs.name }}
branch: release/packages-${{ steps.date.outputs.date }}
delete-branch: true
title: Prepare Packages for Release
reviewers: ${{ github.actor }}