/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/version_bump.generated.yml
58 строк
2 KB
Bartek Iwańczuk
chore: allow alpha/beta version bumps and auto-flag prereleases (#35916)
09 июл 2026, 23:29
Не верифицирован
09 июл 2026, 23:29
7e89f80
Код
Авторство
О чём код?
# GENERATED BY ./version_bump.ts -- DO NOT DIRECTLY EDIT name: version_bump on: workflow_dispatch: inputs: releaseKind: description: Kind of version bump default: patch type: choice options: - patch - minor - major - rc - alpha - beta required: true jobs: build: name: version bump runs-on: ubuntu-24.04 timeout-minutes: 90 env: CARGO_TERM_COLOR: always RUST_BACKTRACE: full RUSTC_FORCE_INCREMENTAL: 1 steps: - name: Configure git run: |- git config --global core.symlinks true git config --global fetch.parallel 32 - name: Clone repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: token: '${{ secrets.DENOBOT_PAT }}' submodules: recursive - uses: dsherret/rust-toolchain-file@3551321aa44dd44a0393eb3b6bdfbc5d25ecf621 - name: Install deno uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 with: deno-version: v2.x - name: Run version bump run: |- git remote add upstream https://github.com/denoland/deno ./tools/release/01_bump_crate_versions.ts --${{github.event.inputs.releaseKind}} - name: Create PR env: GITHUB_TOKEN: '${{ secrets.DENOBOT_PAT }}' GH_WORKFLOW_ACTOR: '${{ github.actor }}' run: |- git config user.email "${{ github.actor }}@users.noreply.github.com" git config user.name "${{ github.actor }}" ./tools/release/02_create_pr.ts # gagen:pin actions/checkout@v6 = de0fac2e4500dabe0009e67214ff5f5447ce83dd # gagen:pin denoland/setup-deno@v2 = 667a34cdef165d8d2b2e98dde39547c9daac7282 # gagen:pin dsherret/rust-toolchain-file@v1 = 3551321aa44dd44a0393eb3b6bdfbc5d25ecf621