Point staging version link to corresponding commit on GitHub (#7529)
* Add the 'Download the app' button back on web Fixes #7527 * Fix staging release link in desktop app Fixes #7513 * Update snapshots * Update snapshots * Update snapshots * Add ref parsing logic and unit test * Oops --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import type { StatusBarItemType } from '@src/components/StatusBar/statusBarTypes'
|
||||
import type { Location } from 'react-router-dom'
|
||||
import { PATHS } from '@src/lib/paths'
|
||||
import { APP_VERSION } from '@src/routes/utils'
|
||||
import { APP_VERSION, getReleaseUrl } from '@src/routes/utils'
|
||||
import {
|
||||
BillingRemaining,
|
||||
BillingRemainingMode,
|
||||
@ -28,7 +28,7 @@ export const defaultGlobalStatusBarItems = ({
|
||||
id: 'version',
|
||||
element: 'externalLink',
|
||||
label: `v${APP_VERSION}`,
|
||||
href: `https://github.com/KittyCAD/modeling-app/releases/tag/v${APP_VERSION}`,
|
||||
href: getReleaseUrl(),
|
||||
toolTip: {
|
||||
children: 'View the release notes on GitHub',
|
||||
},
|
||||
|
Reference in New Issue
Block a user