fix(ci): add previous_tag from git describe
This commit is contained in:
1 file changed
+1
-1
@@ -22,7 +22,7 @@ jobs:
|
||||
mkdir env
|
||||
echo ${{ steps.tag_version.outputs.new_version }} > env/new_version
|
||||
echo ${{ steps.tag_version.outputs.new_tag }} > env/new_tag
|
||||
echo ${{ steps.tag_version.outputs.previous_tag }} > env/previous_tag
|
||||
git describe --abbrev=0 > env/previous_tag
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: env
|
||||
|
||||
Reference in new issue
Block a user