Fix wrong column for mlflow version
This commit is contained in:
parent
4df20b0dae
commit
4d600ed607
|
@ -20,7 +20,7 @@ jobs:
|
|||
- name: Get mlflow version
|
||||
id: mlflow
|
||||
run: |
|
||||
mlflow=$(cat requirements.txt | grep mlflow | cut -d'=' -f2)
|
||||
mlflow=$(cat requirements.txt | grep mlflow | cut -d'=' -f3)
|
||||
echo $mlflow
|
||||
echo "mlflow=$mlflow" >> $GITHUB_OUTPUT
|
||||
- name: Create tag if it doesn't exist
|
||||
|
@ -30,7 +30,7 @@ jobs:
|
|||
echo "Tag already exists"
|
||||
echo "created=false" >> $GITHUB_OUTPUT
|
||||
else
|
||||
git tag ${{ steps.mlflow.outputs.mlflow }} -m "Tag ${{ steps.mlflow.outputs.mlflow }}"
|
||||
git tag ${{ steps.mlflow.outputs.mlflow }} -m "Release ${{ steps.mlflow.outputs.mlflow }}"
|
||||
git push origin ${{ steps.mlflow.outputs.mlflow }}
|
||||
echo "created=true" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue