What's the default version of openwrt?

Hi the experts,

I'm a beginner, and I want to build the openwrt's image by myself.
Then, I download the source files according to the web link "https://openwrt.org/docs/guide-developer/quickstart-build-images" successfully. But one thing confuses me, it is the version of the source files, could you give some details or how could I find the version when the image isn't downloaded into the devices? I guess it may be the latest development version, right?

Many thanks,

Seems like it is:

# git ls-remote -h git://git.openwrt.org/openwrt/openwrt.git/
01a8f0e444c9b52f100eff878cc7011fffeddeaf        refs/heads/lede-17.01
5efd080e20f83556c0e3acb4d9c56673ec577d27        refs/heads/master
7347ea7453aed1f5e6bf222761e3e5bd6b5d13e7        refs/heads/openwrt-18.06

# git ls-remote git://git.openwrt.org/openwrt/openwrt.git/ HEAD
5efd080e20f83556c0e3acb4d9c56673ec577d27        HEAD

# git ls-remote -h git://git.openwrt.org/openwrt/openwrt.git/ | grep 5efd080e20f83556c0e3acb4d9c56673ec577d27
5efd080e20f83556c0e3acb4d9c56673ec577d27        refs/heads/master

I use the git commit refs myself.

The "printed" version is generated by ./scripts/getver.sh in the build system. getver.sh sometimes will get you the commit from the printed version if supplied as an argument.

jeff@deb-devel:~/devel/openwrt$ ./scripts/getver.sh 
jeff@deb-devel:~/devel/openwrt$ ./scripts/getver.sh r7986+3-dc9388ac55
jeff@deb-devel:~/devel/openwrt$ git log -1 --pretty=oneline 
fc8e64da482334beda9e3280fe5c0f45f18d9335 (HEAD -> ath79-jmk-devel) Capture build details in /build-info
1 Like

Thanks,it's been confirmed. The default version is the latest development version.

Thank you so much, Jeff.
The way you provides for checking the version is very useful.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.