You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the manual binary installation for my primary instance of Memos, and I am writing a script to update the binary to a given release. I'd like to preserve the old binary via a some "mv" operation in my script so that I can very easily roll back to a previous version if needed.
To support this, I would love to get the version number from the binary, but I don't think there's a flag to do this. I use the same technique with Forgejo, I can just call "forgejo --version" and use "cut" to extract the specific version number to feed back into the mv command and rename the old binary before replacing it with a new one. The only way I see of getting the version at the moment is having to open the browser, logging in, and visiting the settings page of the web interface.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the manual binary installation for my primary instance of Memos, and I am writing a script to update the binary to a given release. I'd like to preserve the old binary via a some "mv" operation in my script so that I can very easily roll back to a previous version if needed.
To support this, I would love to get the version number from the binary, but I don't think there's a flag to do this. I use the same technique with Forgejo, I can just call "forgejo --version" and use "cut" to extract the specific version number to feed back into the mv command and rename the old binary before replacing it with a new one. The only way I see of getting the version at the moment is having to open the browser, logging in, and visiting the settings page of the web interface.
Does this seem feasible/of interest to others?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions