# Is there a "correct" way to check if I am running a nightly build of Julia?

**URL:** <https://discourse.julialang.org/t/is-there-a-correct-way-to-check-if-i-am-running-a-nightly-build-of-julia/82754>\
**Category:** General Usage\
**Tags:** nightly, versions, versioning\
**Created:** [June 14, 2022, 2:59pm UTC](https://discourse.julialang.org/t/is-there-a-correct-way-to-check-if-i-am-running-a-nightly-build-of-julia/82754 "2022-06-14T14:59:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krastanov](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/krastanov/32/6817_2.png) [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Post date:** [June 14, 2022, 2:59pm UTC](https://discourse.julialang.org/t/is-there-a-correct-way-to-check-if-i-am-running-a-nightly-build-of-julia/82754/1 "2022-06-14T14:59:51Z")

</div>

Is there an official way to check if I am running a non-release version of Julia? Any footguns to be aware of if I just do `occursin("DEV",string(VERSION))`?

The reason for this question is that I want to permit certain tests (and doc builds) only if not on a nightly release (or vice versa).
