|
@@ -5,7 +5,7 @@ on: |
|
|
# workflows: ["build_and_test"] |
|
|
# workflows: ["build_and_test"] |
|
|
# types: |
|
|
# types: |
|
|
# - completed |
|
|
# - completed |
|
|
[push, pull_request] |
|
|
|
|
|
|
|
|
[pull_request] |
|
|
# push: |
|
|
# push: |
|
|
# branches: [ "master" ] |
|
|
# branches: [ "master" ] |
|
|
# pull_request: |
|
|
# pull_request: |
|
@@ -74,6 +74,7 @@ jobs: |
|
|
|
|
|
|
|
|
- name: Pack packages |
|
|
- name: Pack packages |
|
|
run: | |
|
|
run: | |
|
|
|
|
|
git fetch; |
|
|
$LastTag = git describe --tags (git rev-list --tags --max-count=1); |
|
|
$LastTag = git describe --tags (git rev-list --tags --max-count=1); |
|
|
echo "Last tag is: $LastTag"; |
|
|
echo "Last tag is: $LastTag"; |
|
|
$Version = ($LastTag).TrimStart('v'); |
|
|
$Version = ($LastTag).TrimStart('v'); |
|
|