-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
if: steps.check_merge.outputs.IS_MERGE == 'true' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters