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