* Fix syntax bug in delete artifacts step of release branch merge handler workflow

* Remove duplicate SALESFORCE_TEMPLATE_USERNAME in getting started docs

* Fix bugs in compile release notes step

* Add DEPLOYMENT_TIMEOUT to getting started docs
This commit is contained in:
Max Goldfarb 2023-02-24 11:49:25 -05:00 коммит произвёл GitHub
Родитель 80a99d1edc
Коммит 9b5e92ecf4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 12 добавлений и 9 удалений

Просмотреть файл

@ -32,26 +32,29 @@ jobs:
- name: Compile Release Notes
if: steps.check_merge.outputs.IS_MERGE == 'true' && vars.GENERATE_RELEASE == 'true'
run: |
if [ls release-notes/${{ vars.ISSUE_BRANCH_PREFIX }}*.md 1> /dev/null 2>&1]
if [ ls release-notes/${{ vars.ISSUE_BRANCH_PREFIX }}*.md 1> /dev/null 2>&1 ]
then
if [ ! -f $1 ]
if [ ! -f release-notes/release.md ]
then
echo "### Includes the following items" > $1
echo >> $1
echo "### Includes the following items" > release-notes/release.md
echo >> release-notes/release.md
fi
for ISSUE_NOTES in `ls release-notes/${{ vars.ISSUE_BRANCH_PREFIX }}*.md`
do
NOTES=`cat ${ISSUE_NOTES}`
if ! grep -q "${NOTES}" $1
if ! grep -q "${NOTES}" release-notes/release.md
then
echo "${NOTES}" >> $1
echo "${NOTES}" >> release-notes/release.md
fi
done
fi
- name: Delete Artifacts
if: steps.check_merge.outputs.IS_MERGE == 'true'
run: |
if [${{ vars.GENERATE_RELEASE }} == 'true']; then rm release-notes/${{ vars.ISSUE_BRANCH_PREFIX }}*.md || true
if [ "${{ vars.GENERATE_RELEASE }}" = "true" ]
then
rm release-notes/${{ vars.ISSUE_BRANCH_PREFIX }}*.md || true
fi
rm auth/sandbox-login-url-issue-* || true
- uses: stefanzweifel/git-auto-commit-action@v4.15.4
if: steps.check_merge.outputs.IS_MERGE == 'true'

Просмотреть файл

@ -18,8 +18,6 @@ The following secrets are required to be set in the repository settings:
- This is the consumer key of the template org. This is used to authenticate with the template sandbox.
- `SALESFORCE_TEMPLATE_USERNAME`
- This is the username of the template org. This is used to authenticate with the template sandbox.
- `SALESFORCE_TEMPLATE_USERNAME`
- This is the username of the template org. This is used to authenticate with the template sandbox.
- `SALESFORCE_TEMPLATE_JWT_SECRET_KEY`
- This is the private key used to generate the JWT token. This is used to authenticate with the template sandbox.
- `BOT_USER_EMAIL`
@ -41,3 +39,5 @@ The following repository variables are required to be set in the repository sett
- This is feature flag that is a boolean value that determines whether release notes should be generated.
- `SALESFORCE_FORMATTED_PROFILES_AND_PERMS`
- This is a feature flag that is a boolean value that determines whether profiles and permissions should be formatted using the `profile:decompose` plugin.
- `DEPLOYMENT_TIMEOUT`
- The number of minutes to wait for the `force:source:deploy` command to complete and display results.