changed to pull tags from origin/master instead of just master

This commit is contained in:
Andrew Welker
2020-03-16 14:33:48 -06:00
parent e7b63e19ae
commit d4565dbee9
2 changed files with 1 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
$latestVersions = git tag --merged master
$latestVersions = git tag --merged origin/master
$latestVersion = [version]"0.0.0"
Foreach ($version in $latestVersions) {
Write-Host $version

View File

@@ -27,8 +27,6 @@ jobs:
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Fetching the rest of the branches
run: git fetch --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
# - name: Set Build to Release if triggered from Master
# run: |