From 331a52e752b58d28cd21c135122c1c1a2652c93f Mon Sep 17 00:00:00 2001 From: MintoDA1 <51412913+MintoDA1@users.noreply.github.com> Date: Mon, 11 Sep 2023 14:26:11 -0400 Subject: [PATCH] Switched to only build wheels on release to prevent wheels from being constantly built --- .github/workflows/build_wheels.yml | 4 +++- src/globals/globals_module.f90 | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 5285629d2..a607e1741 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -1,6 +1,8 @@ name: swiftest -on: [push, pull_request] +on: + release: + types: [published] jobs: build_wheels: diff --git a/src/globals/globals_module.f90 b/src/globals/globals_module.f90 index 490c8ab00..ffc1854ab 100644 --- a/src/globals/globals_module.f90 +++ b/src/globals/globals_module.f90 @@ -48,7 +48,7 @@ module globals integer(I4B), parameter :: UPPERCASE_OFFSET = iachar('A') - iachar('a') !! ASCII character set parameter for lower to upper !! conversion - offset between upper and lower - character(*), parameter :: VERSION = "2023.9.1" !! Swiftest version + character(*), parameter :: VERSION = "" !! Swiftest version !> Symbolic name for integrator types character(*), parameter :: UNKNOWN_INTEGRATOR = "UKNOWN INTEGRATOR"