File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -20,13 +20,6 @@ def calculate_sha1(file_path):
2020 sha1_hash .update (chunk )
2121 return sha1_hash .hexdigest ()
2222
23- def get_version_from_tag ():
24- """Get version from git tag or environment variable."""
25- version = os .environ .get ('GITHUB_REF_NAME' , '' )
26- if version .startswith ('v' ):
27- version = version [1 :] # Remove 'v' prefix
28- return version or "dev"
29-
3023def generate_plugin_repo_yaml (version : str ):
3124 """Generate the plugin repository YAML file."""
3225 repo_url = "https://github.com/SAP/cf-cli-java-plugin"
Original file line number Diff line number Diff line change 3434 - name : Generate plugin repository YAML
3535 env :
3636 GITHUB_REF_NAME : ${{ github.event.release.tag_name }}
37- run : python3 .github/workflows/generate_plugin_repo.py
37+ run : python3 .github/workflows/generate_plugin_repo.py $GITHUB_REF_NAME
3838
3939 - name : Upload plugin repository files to release
4040 env :
You can’t perform that action at this time.
0 commit comments