Skip to content

Commit

Permalink
fix update version
Browse files Browse the repository at this point in the history
  • Loading branch information
boyan01 committed Jul 26, 2024
1 parent 25ce691 commit 00788f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-from-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
sed -i -e 's/${{ env.current_version }}/${{ env.new_version }}/g' one.mixin.messenger.yml
sed -i -e 's/sha256:.*/sha256: ${{ env.new_version_sha256 }}/g' one.mixin.messenger.yml
CURRENT_DATE=$(date '+%Y-%-m-%-d')
sed -i "/<releases>/a\ <release version=\"${{ env.new_version }}\" date=\"$CURRENT_DATE\" />" one.mixin.messenger.metainfo.xml
VERSION=$(echo ${{ env.new_version }} | cut -d 'v' -f2)
sed -i "/<releases>/a\ <release version=\"${VERSION}\" date=\"$CURRENT_DATE\" />" one.mixin.messenger.metainfo.xml
- name: Create Pull Request
if: env.new_version
Expand Down

0 comments on commit 00788f5

Please sign in to comment.