Skip to content

Commit

Permalink
Allow specifying version
Browse files Browse the repository at this point in the history
  • Loading branch information
I-Al-Istannen committed Oct 28, 2024
1 parent 8ca0900 commit ba5cf63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ jobs:
env:
RELEASE_KEYSTORE: ${{ secrets.RELEASE_KEYSTORE }}
RELEASE_PASSWORD: ${{ secrets.RELEASE_PASSWORD }}
TARGET_REV: ${{ github.event.inputs.version }}
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ git clone https://github.com/mattermost/mattermost-mobile

pushd mattermost-mobile || exit 1

if [ -n "$TARGET_REV" ]; then
git checkout "$TARGET_REV"
fi

for patch in ../*.patch; do
echo "Applying $patch"
git am "$patch"
Expand Down

0 comments on commit ba5cf63

Please sign in to comment.