Update to v0.10.0-nightly-20240930 (#81) #96
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
name: Release | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- ".SRCINFO" | |
- "PKGBUILD" | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Pushes to AUR | |
run: | | |
mkdir -p $HOME/.ssh/ | |
cat <<EOF > $HOME/.ssh/id_rsa | |
${{ secrets.AUR_DEPLOY_KEY }} | |
EOF | |
chmod 600 $HOME/.ssh/id_rsa | |
touch $HOME/.ssh/known_hosts | |
ssh-keyscan -t rsa aur.archlinux.org >> $HOME/.ssh/known_hosts | |
git config --global user.email "n@sunng.info" | |
git config --global user.name "Ning Sun" | |
git remote add aur ssh://aur@aur.archlinux.org/greptimedb-bin.git | |
git checkout aur-master | |
git cherry-pick master | |
git push origin aur-master | |
git push aur aur-master:master |