Skip to content

Commit

Permalink
Merge branch 'main' into #139
Browse files Browse the repository at this point in the history
  • Loading branch information
ymaheshwari1 committed Mar 20, 2024
2 parents 48a090f + 3607bee commit c30b87c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/common-firebase-hosting-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,16 @@ jobs:
run: firebase deploy --token "$HOTWAX_PUBLIC_SECRET" -m "Deploying via GitHub actions" --only hosting:uat
env:
HOTWAX_PUBLIC_SECRET: ${{ secrets.HOTWAX_PUBLIC_SECRET }}
release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: "Fetch release tag"
run: |
echo "LABEL=$(git describe --tags `git rev-list --tags --max-count=1`)" >> $GITHUB_ENV
- name: "Create label"
run: gh label create "release-${{ env.LABEL }}" --color FF7F7E
env:
GH_TOKEN: ${{ secrets.HOTWAX_PUBLIC_SECRET }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hotwax/dxp-components",
"version": "1.12.1",
"version": "1.12.2",
"description": "",
"type": "module",
"main": "lib/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion src/store/productIdentification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const useProductIdentificationStore = defineStore('productIdentification'
primaryId: '',
secondaryId: ''
},
productIdentificationOptions: ["productId", "groupId", "groupName", "internalName", "parentProductName", "primaryProductCategoryName", "productId", "sku", "title", "SHOPIFY_PROD_SKU"]
productIdentificationOptions: ["productId", "groupId", "groupName", "internalName", "parentProductName", "primaryProductCategoryName", "sku", "title", "SHOPIFY_PROD_SKU"]
}
},
getters: {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { toastController } from "@ionic/vue";
import { translate } from "src";

const goToOms = (token: string, oms: string) => {
const link = (oms.startsWith('http') ? oms.replace(/api\/?/, "") : `https://${oms}.hotwax.io/`) + `commerce/control/main?token=${token}`
const link = (oms.startsWith('http') ? oms.replace(/\/api\/?|\/$/, "") : `https://${oms}.hotwax.io`) + `/commerce/control/main?token=${token}`

window.open(link, '_blank', 'noopener, noreferrer')
}
Expand Down

0 comments on commit c30b87c

Please sign in to comment.