diff --git a/.gitea/workflows/update-alr-git.yaml b/.gitea/workflows/update-alr-git.yaml deleted file mode 100644 index 30bacbb..0000000 --- a/.gitea/workflows/update-alr-git.yaml +++ /dev/null @@ -1,69 +0,0 @@ -# ALR - Any Linux Repository -# Copyright (C) 2025 The ALR Authors -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . - -name: Update alr-git - -on: - push: - branches: - - master - -jobs: - changelog: - runs-on: ubuntu-latest - steps: - - name: Install the latest version of uv - uses: astral-sh/setup-uv@v6 - - - name: Setup alr-spec - run: | - uv tool install alr-spec==0.0.5 - - - name: Install alr - run: | - apt-get update && apt-get install -y libcap2-bin - curl -fsS https://gitea.plemya-x.ru/Plemya-x/ALR/raw/branch/master/scripts/install.sh | bash - - - name: Checkout this repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Set ALR version - run: | - echo "NEW_ALR_VERSION=$(alr helper git-version)" >> $GITHUB_ENV - - - name: Checkout alr-default repository - uses: actions/checkout@v4 - with: - repository: Plemya-x/alr-default - token: ${{ secrets.GITEAPUBLIC }} - path: alr-default - - - name: Update version - working-directory: ./alr-default/alr-git - run: | - alr-spec set-field version $NEW_ALR_VERSION - alr-spec set-field release 1 - - - name: Commit changes - run: | - cd alr-default - git config user.name "gitea" - git config user.email "admin@plemya-x.ru" - git add . - git commit -m "Обновление версии до $NEW_ALR_VERSION" - git push