From 3bd311fcd397d960a8d10dd4e29715268e27cf85 Mon Sep 17 00:00:00 2001 From: Sarah Schulte Date: Tue, 30 Apr 2024 16:05:00 -0700 Subject: [PATCH] fix name collision --- .github/workflows/main.yml | 4 ++-- main.go | 2 +- VERSION => version.txt | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename VERSION => version.txt (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e9d1340..8713c98 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,7 +5,7 @@ on: branches: - 'main' paths: - - 'VERSION' + - 'version.txt' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -17,6 +17,6 @@ jobs: steps: - uses: actions/checkout@v3 - run: | - VERSION="$(cat VERSION)" + VERSION="$(cat version.txt)" git tag "$VERSION" git push origin tag "$VERSION" diff --git a/main.go b/main.go index 87790d9..5a5ee82 100644 --- a/main.go +++ b/main.go @@ -9,7 +9,7 @@ import ( "github.com/bootdotdev/bootdev/cmd" ) -//go:embed VERSION +//go:embed version.txt var version string func main() { diff --git a/VERSION b/version.txt similarity index 100% rename from VERSION rename to version.txt