mirror of
https://github.com/SagerNet/sing-geoip.git
synced 2025-02-06 13:02:43 +08:00
16 lines
397 B
Bash
Executable File
16 lines
397 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -o pipefail
|
|
|
|
mkdir -p release
|
|
cd release
|
|
git init
|
|
git config --local user.email "github-action@users.noreply.github.com"
|
|
git config --local user.name "GitHub Action"
|
|
git remote add origin https://github-action:$GITHUB_TOKEN@github.com/SagerNet/sing-geoip.git
|
|
git branch -M release
|
|
cp ../*.db ../*.sha256sum .
|
|
git add .
|
|
git commit -m "Update release"
|
|
git push -f origin release
|