Skip to content

Commit

Permalink
ci: Strip 'v' prefix from version and remove obsolete release workflow (
Browse files Browse the repository at this point in the history
#4584)

* Remove 'create-release.yml' workflow file from GitHub Actions configuration

* Strip 'v' prefix from version in release workflow script
  • Loading branch information
ogabrielluiz authored Nov 13, 2024
1 parent b25726a commit 348a7c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 65 deletions.
64 changes: 0 additions & 64 deletions .github/workflows/create-release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Check Version
id: check-version
run: |
version=$(uv tree | grep 'langflow-base' | awk '{print $3}')
version=$(uv tree | grep 'langflow-base' | awk '{print $3}' | sed 's/^v//')
last_released_version=$(curl -s "https://pypi.org/pypi/langflow-base/json" | jq -r '.releases | keys | .[]' | sort -V | tail -n 1)
if [ "$version" = "$last_released_version" ]; then
echo "Version $version is already released. Skipping release."
Expand Down

0 comments on commit 348a7c2

Please sign in to comment.