Not Able To Deploy My Discount Function

I’ve created an app, and I am not able to deploy my discount function UI because of the following error

Can you please let me know the exact and proper migration guide to deploy the extension to my app

Below is my .toml file and .json of discount ui for reference if needed

{
  "name": "acc-ge-product-164-ui",
  "private": true,
  "version": "1.0.0",
  "license": "UNLICENSED",
  "dependencies": {
    "react": "^18.0.0",
    "@shopify/ui-extensions": "2024.10.x",
    "@shopify/ui-extensions-react": "2024.10.x",
    "react-reconciler": "0.29.0"
  },
  "devDependencies": {
    "@types/react": "^18.0.0"
  }
}
api_version = "2024-10"

[[extensions]]
# Change the merchant-facing name of the extension in locales/en.default.json
name = "t:name"
handle = "acc-ge-product-164-ui"
uid = "f08e9d3f-4830-1407-723f-ffc570c775677b9a91db"
type = "ui_extension"


# Only 1 target can be specified for each Admin block extension
[[extensions.targeting]]
module = "./src/DiscountFunctionSettings.tsx"
# The target used here must match the target used in the module file (./src/DiscountFunctionSettings.tsx)
target = "admin.discount-details.function-settings.render"

.toml for discount function

api_version = "2025-01"

[[extensions]]
name = "t:name"
handle = "acc-ge-product-164"
uid = "fdb6ea80-2ade-cbba-1457-8eb13ec606e3edb3e672"
type = "function"

description = "t:description"

[[extensions.targeting]]
target = "purchase.product-discount.run"
input_query = "src/run.graphql"
export = "run"

[extensions.build]
command = ""
path = "dist/function.wasm"

[extensions.ui.paths]
create = "/"
details = "/"

[extensions.ui]
handle="acc-ge-product-164-ui"

The error message is pretty clear, you’re using 2024-10 in your toml file and your extension is using 2025-01.

I suggest following what it says in the error message to resolve this.

It would be really helpful if we got some migration guide or steps, because currently, I am having all sorts of errors after upgrading it to the latest version