Browse Source

ci: update ci files.

pull/1047/head
AsakusaRinne 2 years ago
parent
commit
33013b73f0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      .github/workflows/release.yml

+ 2
- 1
.github/workflows/release.yml View File

@@ -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');


Loading…
Cancel
Save