Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
💚 Attempt debugging of GA; sync v<X> outs
Browse files Browse the repository at this point in the history
  • Loading branch information
jmuchovej committed May 3, 2021
1 parent 396817a commit b5c09a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
run: |
./scripts/download-extract "CoreDNS" "coredns/coredns"
./scripts/download-extract "ZeroTier" "zerotier/ZeroTierOne"
ls -la
- id: login-dockerhub-registry
name: "Login to DockerHub Registry"
uses: docker/login-action@v1
Expand Down Expand Up @@ -58,5 +59,5 @@ jobs:
build-args: |
BUILD_DATE=${{ steps.meta.outputs.date }}
ZeroDNS=${{ steps.meta.outputs.tag }}
CoreDNS=${{ steps.meta.outputs.CoreDNS }}
ZeroTier=${{ steps.meta.outputs.ZeroTier }}
CoreDNS=${{ steps.meta.outputs.vCoreDNS }}
ZeroTier=${{ steps.meta.outputs.vZeroTier }}
4 changes: 2 additions & 2 deletions scripts/version-bump
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ if __name__ == "__main__":
outputs[key].update(val)

diff = any(outputs["diff"].values())
actions["draftRelease"] = any(outputs["majorUpgrade"].values())
actions["createRelease"] = diff and not outputs["diff"]["vZeroDNS"]
actions["draftRelease"] = str(any(outputs["majorUpgrade"].values())).lower()
actions["createRelease"] = str(diff and not outputs["diff"]["vZeroDNS"]).lower()
actions["body"] = "".join(list(outputs["body"].values()))

if actions["createRelease"] and not actions["draftRelease"]:
Expand Down

0 comments on commit b5c09a3

Please sign in to comment.