Skip to content

Commit 24ef702

Browse files
authored
Merge branch 'main' into add_history
2 parents 1188ad3 + 6425e58 commit 24ef702

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/auto-release.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ on:
88
required: true
99
default: 'HEAD'
1010
version_number:
11-
description: 'Version Number (Ex. 10.4.0)'
11+
description: 'Version Number (Ex. 10.4.4)'
1212
required: true
13-
default: '10.4.0'
13+
default: '10.4.4'
14+
main_br_version:
15+
description: "Version String for task.h on main branch (leave empty to leave as-is)."
16+
require: false
17+
default: ''
1418

1519
jobs:
1620
release-packager:
@@ -32,11 +36,11 @@ jobs:
3236
with:
3337
repository: FreeRTOS/FreeRTOS
3438
path: tools
35-
36-
# Simpler git auth if we use checkout action and forward the repo to release script
39+
40+
# Simpler git auth if we use checkout action and forward the repo to release script
3741
- name: Checkout FreeRTOS Kernel
3842
uses: actions/checkout@v2
39-
with:
43+
with:
4044
path: local_kernel
4145
fetch-depth: 0
4246

@@ -45,10 +49,9 @@ jobs:
4549
# Configure repo for push
4650
git config --global user.name ${{ github.actor }}
4751
git config --global user.email ${{ github.actor }}@users.noreply.github.com
48-
4952
# Install deps and run
5053
pip install -r ./tools/.github/scripts/release-requirements.txt
51-
./tools/.github/scripts/release.py FreeRTOS --kernel-repo-path=local_kernel --kernel-commit=${{ github.event.inputs.commit_id }} --new-kernel-version=${{ github.event.inputs.version_number }}
54+
./tools/.github/scripts/release.py FreeRTOS --kernel-repo-path=local_kernel --kernel-commit=${{ github.event.inputs.commit_id }} --new-kernel-version=${{ github.event.inputs.version_number }} --new-kernel-main-br-version=${{ github.event.inputs.main_br_version }}
5255
exit $?
5356
env:
5457
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)