Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gruve-p committed May 26, 2023
1 parent 8116eaa commit 1cbb456
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-release-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
steps:
- name: Checkout project
uses: actions/checkout@v3
with:
fetch-depth: "0"

- name: Specify node version
uses: actions/setup-node@v3
Expand All @@ -31,12 +33,12 @@ jobs:

- name: Install node_modules
run: npm install --production
- name: Create release-notes.txt
run: git log --pretty=format:'* %s %b' $GITHUB_SHA | grep -v "Merge branch 'master'" | grep -v "Merge remote-tracking branch 'origin/master'" | grep -v "Merge pull request" | awk -F 'review completed for the source file' '{print $1;}' | grep -E -v 'on the(.*)language.' | awk -F 'Snyk has created this PR' '{print $1;}' | grep -E -v 'See this package in npm|https://www.npmjs.com/|See this project in Snyk|https://app.snyk.io' | awk '!/^$/' > release-notes.txt
- name: Create release-notes.json
run: node -e 'console.log(JSON.stringify(require("fs").readFileSync("release-notes.txt", "utf8")));' > release-notes.json

#- name: Create release-notes.txt
# run: git log --pretty=format:'* %s %b' $GITHUB_SHA | grep -v "Merge branch 'master'" | grep -v "Merge remote-tracking branch 'origin/master'" | grep -v "Merge pull request" | awk -F 'review completed for the source file' '{print $1;}' | grep -E -v 'on the(.*)language.' | awk -F 'Snyk has created this PR' '{print $1;}' | grep -E -v 'See this package in npm|https://www.npmjs.com/|See this project in Snyk|https://app.snyk.io' | awk '!/^$/' > release-notes.txt

#- name: Create release-notes.json
# run: node -e 'console.log(JSON.stringify(require("fs").readFileSync("release-notes.txt", "utf8")));' > release-notes.json

- name: Build
env:
Expand Down

0 comments on commit 1cbb456

Please sign in to comment.