An open-source UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, RADIUS, Google Workspace, Active Directory and Kerberos
I think this interface should determine which method to use to obtain the version based on the runmode in conf/app.conf. If it is dev, then obtain the version through Git History; If it is prod, then obtain the version through version_info.txt.
If users run Casdoor through compilation and in Production Mode, they should be required to generate version_info.txt after go build. I also create a PR in the Git repository of the Casdoor Document.
fix: #2981
I think this interface should determine which method to use to obtain the version based on the
runmode
inconf/app.conf
. If it isdev
, then obtain the version through Git History; If it isprod
, then obtain the version throughversion_info.txt
.If users run Casdoor through compilation and in
Production Mode
, they should be required to generateversion_info.txt
aftergo build
. I also create a PR in the Git repository of the Casdoor Document.