File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1414 steps :
1515 - name : Check if issue is a "🐛 Bug report"
1616 id : check_is_bug_report
17+ env :
18+ issue_title : " ${{ github.event.issue.title }}"
1719 run : |
1820 echo "## Checking if issue is a 'Feature idea'..."
19- if [[ "${{ github.event.issue.title }} " == "🐛 "* ]]; then
21+ if [[ "$issue_title " == "🐛 "* ]]; then
2022 echo "is_bug_report=true" >> $GITHUB_ENV
2123 else
2224 echo "is_bug_report=false" >> $GITHUB_ENV
Original file line number Diff line number Diff line change 1414 steps :
1515 - name : Check if issue is a "💡 Feature idea"
1616 id : check_is_feature_idea
17+ env :
18+ issue_title : " ${{ github.event.issue.title }}"
1719 run : |
1820 echo "## Checking if issue is a 'Feature idea'..."
19- if [[ "${{ github.event.issue.title }} " == "💡 "* ]]; then
21+ if [[ "$issue_title " == "💡 "* ]]; then
2022 echo "is_feature_idea=true" >> $GITHUB_ENV
2123 else
2224 echo "is_feature_idea=false" >> $GITHUB_ENV
8991 repo: context.repo.repo,
9092 labels: ["User Story Needed"],
9193 });
92- }
94+ }
Original file line number Diff line number Diff line change 1010jobs :
1111 update-version :
1212 runs-on : ubuntu-latest
13+ env :
14+ VERSION : " ${{ github.event.inputs.version }}"
1315
1416 steps :
1517 - name : Checkout Repository
2426 node-version-file : " ./govtool/frontend/.nvmrc"
2527 scope : " @intersect.mbo"
2628
27- - name : Set Version Variable
28- run : echo "VERSION=${{ github.event.inputs.version }}" >> $GITHUB_ENV
29-
3029 - name : Update package.json files and install dependencies
3130 run : |
3231 jq --arg v "$VERSION" '.version = $v' govtool/frontend/package.json > temp.json && mv temp.json govtool/frontend/package.json
5554 - name : Update CHANGELOG.md
5655 run : |
5756 #!/bin/bash
58- VERSION="${{ github.event.inputs.version }} "
57+ VERSION="$VERSION "
5958 TODAY=$(date +%Y-%m-%d)
6059 RELEASE_TAG="v$VERSION"
6160 RELEASE_LINK="[v$VERSION](https://github.com/IntersectMBO/govtool/releases/tag/$RELEASE_TAG)"
You can’t perform that action at this time.
0 commit comments