Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS-10974 Allow ref param #423

Merged
merged 1 commit into from
Feb 3, 2025
Merged

IOS-10974 Allow ref param #423

merged 1 commit into from
Feb 3, 2025

Conversation

amegias
Copy link
Contributor

@amegias amegias commented Jan 31, 2025

🎟️ Jira ticket

https://jira.tid.es/browse/IOS-10974

πŸ₯… What's the goal?

When mistica-design job trigger our generate-mistica-tokens.yml, it fails:
https://github.com/Telefonica/mistica-design/actions/runs/13055903096/job/36426747377#step:3:17

ref param is unexpected.

🚧 How do we do it?

Allow this (optional) param.

πŸ§ͺ How can I verify this?

@@ -59,10 +59,16 @@ const BRANDS = [
const BRANCH = 'production';

const run = async () => {
let branch = BRANCH;
if (process.argv.length > 2) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

process.argv returns something like:

[
  '/opt/homebrew/Cellar/node/23.5.0/bin/node',
  '/xxxxxxx/mistica-ios/scripts/mistica-skin-generator/index.js',
  'firstParam',
  'secondParam',
  '...'
]

@amegias amegias requested review from pbartolome and cbarcom January 31, 2025 14:32
@amegias amegias marked this pull request as ready for review January 31, 2025 14:32
@amegias amegias merged commit 83925e7 into main Feb 3, 2025
4 checks passed
@amegias amegias deleted the IOS-10974-allow-ref-param branch February 3, 2025 08:25
@tuentisre
Copy link
Collaborator

πŸŽ‰ This PR is included in version 33.8.0 πŸŽ‰

The release is available on GitHub release

Your semantic-release bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants