Update VERSION #1
This file contains hidden or 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
# Copyright 2025 Google LLC | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
# See the License for the specific language governing permissions and | |
# limitations under the License. | |
name: Tag Release | |
on: | |
push: | |
branches: | |
- master | |
- 'release-*' | |
- xiaoweim/experimental-release | |
paths: | |
- 'version/VERSION' | |
jobs: | |
tag-release: | |
# This job only runs for the GoogleCloudPlatform/k8s-config-connector repository. | |
if: github.repository == 'GoogleCloudPlatform/k8s-config-connector' | |
runs-on: ubuntu-24.04 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v5 | |
with: | |
# We need to fetch all tags to see if the tag already exists. | |
fetch-depth: 0 | |
- name: "Set git user" | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Actions Release Tagger" | |
- name: "Run tag script" | |
run: | | |
echo "creating tag" |