Skip to content

Commit

Permalink
[#198] Add RELEASE_NOTE_CONTENT into $GITHUB_ENV for iOS deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
doannimble committed Oct 27, 2023
1 parent 2fde33b commit 12df4da
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ios_deploy_staging_to_firebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
ENV: ${{ secrets.ENV }}
run: |
echo -e "$ENV" > .env.staging
echo "RELEASE_NOTE_CONTENT=$((git log -1 --merges | grep "\[") && echo "" || echo $(git log -1 --merges --format=%B))"
echo "RELEASE_NOTE_CONTENT=$((git log -1 --merges | grep "\[") && echo "" || echo $(git log -1 --merges --format=%B))" >> $GITHUB_ENV
- name: Run code generator
run: flutter packages pub run build_runner build --delete-conflicting-outputs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
ENV: ${{#mustacheCase}}secrets.ENV{{/mustacheCase}}
run: |
echo -e "$ENV" > .env.staging
echo "RELEASE_NOTE_CONTENT="$((git log -1 --merges | grep "\[") | grep . && echo "" || echo $(git log -1 --merges --format=%B))""
echo "RELEASE_NOTE_CONTENT="$((git log -1 --merges | grep "\[") | grep . && echo "" || echo $(git log -1 --merges --format=%B))"" >> $GITHUB_ENV
- name: Run code generator
run: flutter packages pub run build_runner build --delete-conflicting-outputs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ def self.FIREBASE_TESTER_GROUPS
end

def self.GITHUB_RUN_NUMBER
ENV["GITHUB_RUN_NUMBER"]
ENV['GITHUB_RUN_NUMBER']
end

def self.RELEASE_NOTE_CONTENT
ENV["RELEASE_NOTE_CONTENT"]
ENV['RELEASE_NOTE_CONTENT']
end
end

0 comments on commit 12df4da

Please sign in to comment.