Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTingluo Huang <tingluohuang@github.com>2023-03-23 22:44:49 -0400
committerGitHub <noreply@github.com>2023-03-23 22:44:49 -0400
commit843ff1e02eef9965338a705e21303422285fd998 (patch)
tree45fabf1b4e50f39ed26658471ab63a4ef97c49e9
parent6ceb58198e0655a210e8012bd9cf3d051afcb082 (diff)
Update update-main-version.yml
-rw-r--r--.github/workflows/update-main-version.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/update-main-version.yml b/.github/workflows/update-main-version.yml
index c1e046a..9e2b966 100644
--- a/.github/workflows/update-main-version.yml
+++ b/.github/workflows/update-main-version.yml
@@ -1,5 +1,5 @@
name: Update Main Version
-run-name: Move ${{ github.event.inputs.main_version }} to ${{ github.event.inputs.target }}
+run-name: Move ${{ github.event.inputs.major_version }} to ${{ github.event.inputs.target }}
on:
workflow_dispatch:
@@ -7,11 +7,12 @@ on:
target:
description: The tag or reference to use
required: true
- main_version:
+ major_version:
type: choice
- description: The main version to update
+ description: The major version to update
options:
- v3
+ - v2
jobs:
tag:
@@ -25,6 +26,6 @@ jobs:
git config user.name github-actions
git config user.email github-actions@github.com
- name: Tag new target
- run: git tag -f ${{ github.event.inputs.main_version }} ${{ github.event.inputs.target }}
+ run: git tag -f ${{ github.event.inputs.major_version }} ${{ github.event.inputs.target }}
- name: Push new tag
- run: git push origin ${{ github.event.inputs.main_version }} --force
+ run: git push origin ${{ github.event.inputs.major_version }} --force