Hi,
I was reading about the releases and history in Retool documentation. And I've few questions.
- What does the "current working version" mentioned in the docs mean
is it the published version or the one I am previewing?
- If I want to make a new release, should I make the change and then create it or create it first?
- If I am working on the release(i.e 1.0.0) and then created another one(1.1.0), can I edit the first version(1.0.0)? if not possible how can I create a new release of this version(1.0.0) and edit it without affecting version(1.1.0)?
Thanks Victoria, It is all clear now.
I was looking in retoolContext for any sort of string that contains release/version type information. I would like to publish a string in the UI so that I can confirm users are actually using whatever version I think they should be using and I would like such a number automagically change so I don't have to remember to do it.
Hey Roland! For release tag, you can reference {{retoolContext.pageTag}}
to get the app version! When you're an editor, this will always be "latest"
and when you're a viewer it will be the version tag (e.g. 1.1.3
)
1 Like
I just tried it and it's not working. This snippet:
ver: {{retoolContext.pageTag}}
Displays "ver: latest" in the editor like you say it should. But in normal user mode it just displays "ver:".
Hmm
And if you click "Preview release", do you see the version number in Preview mode?
