Skip to content

Commit

Permalink
Allow release job to be manually run
Browse files Browse the repository at this point in the history
  • Loading branch information
penalosa committed Dec 3, 2024
1 parent f1e8947 commit d6fad6f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ name: Build & Release
on:
push:
branches:
- main
- main
workflow_dispatch:
inputs:
patch:
description: 'Patch Version'
required: true
default: '0'

jobs:
version:
Expand All @@ -16,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- id: echo
run: |
echo "::set-output name=version::1.$(cat src/workerd/io/supported-compatibility-date.txt | tr -d '-').0"
echo "::set-output name=version::1.$(cat src/workerd/io/supported-compatibility-date.txt | tr -d '-').${{ inputs.patch }}"
check-tag:
name: Check tag is new
outputs:
Expand Down

0 comments on commit d6fad6f

Please sign in to comment.