<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thr3a</author_name>
  <author_url>https://blog.hatena.ne.jp/thr3a/</author_url>
  <blog_title>動かざることバグの如し</blog_title>
  <blog_url>https://blog.turai.work/</blog_url>
  <categories>
    <anon>gitlab</anon>
  </categories>
  <description>環境 GitLab 18.6 やりたいこと GitLabCIを使ってビルドして成果物をアーティファクトとして保存したかった。 保存するときにバージョンを取得しファイル名に組み込みたかったのだが、 script: - yarn install --frozen-lockfile - yarn build - VERSION=$(node -p &quot;require('./manifest.json').version&quot;) - echo $VERSION artifacts: name: &quot;my-chrome-extension-v$VERSION&quot; # ここに値が入らない paths: - dist…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.turai.work%2Fentry%2F20260124%2F1769202359&quot; title=&quot;GitLab CIでスクリプトからアーティファクトファイル名に環境変数を渡したい - 動かざることバグの如し&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-01-24 06:05:59</published>
  <title>GitLab CIでスクリプトからアーティファクトファイル名に環境変数を渡したい</title>
  <type>rich</type>
  <url>https://blog.turai.work/entry/20260124/1769202359</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
