Fix the tag-release to work on linux
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3574519. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !1222
>>>
<p>[Tracker]<br>
<strong>Update Summary: </strong>[One-line status update for stakeholders]<br>
<strong>Short Description: </strong>[One-line issue summary for stakeholders]<br>
<strong>Check-in Date: </strong>MM/DD/YYYY<br>
<em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br>
[/Tracker]</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>As part of setting up the MDXEditor a tag release script was added, however its based on zsh command, causing a lot of errors in bash.</p>
<pre>tag-release.sh: 75: pushd: not found<br>npm ERR! code ENOENT<br>npm ERR! syscall open<br>npm ERR! path /tmp/tmp.ZMmEWEcPtg/ai/package.json<br>npm ERR! errno -2<br>npm ERR! enoent ENOENT: no such file or directory, open '/tmp/tmp.ZMmEWEcPtg/ai/package.json'<br>npm ERR! enoent This is related to npm not being able to find a file.<br>npm ERR! enoent <br><br>npm ERR! A complete log of this run can be found in: /home/marcus/.npm/_logs/2026-02-19T12_24_31_035Z-debug-0.log<br>tag-release.sh: 77: popd: not found<br>tag-release.sh: 78: pushd: not found<br>npm ERR! code ENOENT<br>npm ERR! syscall open<br>npm ERR! path /tmp/tmp.ZMmEWEcPtg/ai/package.json<br>npm ERR! errno -2<br>npm ERR! enoent ENOENT: no such file or directory, open '/tmp/tmp.ZMmEWEcPtg/ai/package.json'<br>npm ERR! enoent This is related to npm not being able to find a file.<br>npm ERR! enoent <br><br>npm ERR! A complete log of this run can be found in: /home/marcus/.npm/_logs/2026-02-19T12_24_31_323Z-debug-0.log<br>tag-release.sh: 80: popd: not found<br>tag-release.sh: 81: pushd: not found<br>npm ERR! code ENOENT<br>npm ERR! syscall open<br>npm ERR! path /tmp/tmp.ZMmEWEcPtg/ai/package.json<br>npm ERR! errno -2<br>npm ERR! enoent ENOENT: no such file or directory, open '/tmp/tmp.ZMmEWEcPtg/ai/package.json'<br>npm ERR! enoent This is related to npm not being able to find a file.<br>npm ERR! enoent </pre><h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Fix it in a way that it works with Linux and Mac</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3>
<h3 id="summary-ai-usage">AI usage (if applicable)</h3>
<p>[ ] AI Assisted Issue<br>
This issue was generated with AI assistance, but was reviewed and refined by the creator.</p>
<p>[ ] AI Assisted Code<br>
This code was mainly generated by a human, with AI autocompleting or parts AI generated, but under full human supervision.</p>
<p>[ ] AI Generated Code<br>
This code was mainly generated by an AI with human guidance, and reviewed, tested, and refined by a human.</p>
<p>[ ] Vibe Coded<br>
This code was generated by an AI and has only been functionally tested.</p>
issue