Skip to content
Prev Previous commit
Next Next commit
remove update env file
Signed-off-by: Jared Tan <[email protected]>
  • Loading branch information
JaredTan95 committed Oct 19, 2022
commit f83187714b4e37e8c927a0f46e7d0bb36c581dab
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ jobs:
with:
fetch-depth: 0

- name: Update .env
run: sed -i "s/IMAGE_VERSION=.*/IMAGE_VERSION=${RELEASE_VERSION}/" .env
# - name: Update .env
# run: sed -i "s/IMAGE_VERSION=.*/IMAGE_VERSION=${RELEASE_VERSION}/" .env

- name: Commit updated .env file
uses: test-room-7/action-update-file@v1
with:
file: .env
commit-message: "Update .env file with release version"
branch: main
github-token: ${{ secrets.GITHUB_TOKEN }}
# - name: Commit updated .env file
# uses: test-room-7/action-update-file@v1
# with:
# file: .env
# commit-message: "Update .env file with release version"
# branch: main
# github-token: ${{ secrets.GITHUB_TOKEN }}

# limit docker push image concurrency to 1
# to avoid github package return 429 ratelimit error
Expand Down