-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
MyPC
committed
Dec 14, 2023
1 parent
8a0707b
commit 8577652
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
|
||
- name: Download and unzip specific files | ||
run: | | ||
|
@@ -54,11 +55,16 @@ jobs: | |
echo "VERSION_CODE is not a valid number: $VERSION_CODE" | ||
exit 1 | ||
fi | ||
- name: Commit and push | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
VERSION=$(echo '${{ steps.get_latest_release.outputs.data }}' | jq -r '.tag_name') | ||
git add files/tailscaled-arm files/tailscale-arm | ||
git commit -m "Updated version to $VERSION for files tailscaled and tailscale" | ||
git add update.json | ||
git commit -m "Updated versionCode and version to $VERSION in update.json" | ||
git push origin dev | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |