ipfs-webui icon indicating copy to clipboard operation
ipfs-webui copied to clipboard

Invalid version in release UI

Open lidel opened this issue 3 years ago • 5 comments

https://github.com/ipfs/ipfs-webui/releases/tag/v2.17.3 states CID bafybeihfkeactw26tghz7m3puzh4zqlukvft2f7atfdc7t2qmqn2vszhc4 and that CID shows previous release version:

2022-07-21_14-17

lidel avatar Jul 21 '22 12:07 lidel

Potential fix is to run build again, AFTER version bump but BEFORE changelog and CAR are generated (and recreate CAR so it shows the new version):

  • https://semantic-release.gitbook.io/semantic-release/support/faq#how-can-i-use-a-npm-build-script-that-requires-the-package.jsons-version

Or to solve chicken vs egg problem, we could remove the tag from UI, and only have revision. This way it will be okay to have revision 1 commit before the tag.

lidel avatar Jul 23 '22 00:07 lidel

@SgtPooki I'm marking this as P0 because we can't ship a release with invalid version in UI.

lidel avatar Aug 05 '22 19:08 lidel

#2000 removes the Web UI version for now. I think it's a good temporary solution. However, I think that after @SgtPooki comes back, we should at least make sure it says the correct revision. I agree that removing the Web UI version is fine overall since many people confuse it with Desktop / Kubo version.

hacdias avatar Aug 09 '22 07:08 hacdias

https://github.com/ipfs/ipfs-webui/pull/2000 got merged, if we are ok with only having the revision (seems like improved UX for ipfs-desktop users) this can be closed.

@SgtPooki your call.

lidel avatar Aug 15 '22 17:08 lidel

Yea I'm good with only having the revision on there. The only issue I see is that it could cause issues when users try to communicate bugs for specific versions, and when maintaining issues because we don't think about revisions as quickly as we do version numbers. So we will need to decode that revision every time. I'll leave this open and leave it as P2

SgtPooki avatar Aug 15 '22 19:08 SgtPooki

Going to close this and we can address this if it comes up again

SgtPooki avatar Oct 07 '22 22:10 SgtPooki