{"id":1091,"date":"2026-03-12T13:50:49","date_gmt":"2026-03-12T13:50:49","guid":{"rendered":"https:\/\/techno.slomka.biz\/?p=1091"},"modified":"2026-03-25T09:09:48","modified_gmt":"2026-03-25T09:09:48","slug":"reliably-fetching-git-tags-in-gitlab-pipelines-and-the-git_depth-pitfall","status":"publish","type":"post","link":"https:\/\/techno.slomka.biz\/?p=1091","title":{"rendered":"Reliably Fetching Git Tags in GitLab Pipelines (and the GIT_DEPTH Pitfall)"},"content":{"rendered":"\n<p>Finding the right version string in a CI\/CD pipeline can be surprisingly tricky. If you\u2019ve been searching for a way to grab the &#8220;latest&#8221; tag in your GitLab runner, you&#8217;ve likely stumbled across this specific combination of Git commands. At least I did&#8230;<\/p>\n\n\n\n<p>Here is a breakdown of what that command does, why it works, and the &#8220;gotchas&#8221; you need to look out for.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Command Breakdown<\/h2>\n\n\n\n<p>The command is actually two Git commands nested together:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#282a36\"><span style=\"background:#ebebe6;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#282a36\">PowerShell<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>git describe --tags $(git rev-list --tags --max-count=1)<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F6F6F4\">git describe <\/span><span style=\"color: #F286C4\">--<\/span><span style=\"color: #F6F6F4\">tags <\/span><span style=\"color: #F286C4\">$<\/span><span style=\"color: #F6F6F4\">(git rev<\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #F6F6F4\">list <\/span><span style=\"color: #F286C4\">--<\/span><span style=\"color: #F6F6F4\">tags <\/span><span style=\"color: #F286C4\">--<\/span><span style=\"color: #F6F6F4\">max<\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #F6F6F4\">count<\/span><span style=\"color: #F286C4\">=<\/span><span style=\"color: #BF9EEE\">1<\/span><span style=\"color: #F6F6F4\">)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1. The Inner Command: <code>git rev-list<\/code><\/h3>\n\n\n\n<p>The part inside the parenthesis, <code>git rev-list --tags --max-count=1<\/code>, acts as a locator.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>--tags<\/code><\/strong>: Tells Git to look through the commit history specifically for commits that have tags associated with them.<\/li>\n\n\n\n<li><strong><code>--max-count=1<\/code><\/strong>: Instructs Git to stop after finding the very first (most recent) tagged commit in the current branch&#8217;s history.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. The Outer Command: <code>git describe<\/code><\/h3>\n\n\n\n<p>Once the inner command finds the &#8220;hash&#8221; (the unique ID) of that commit, <code>git describe --tags<\/code> turns that ID into a human-readable string (e.g., <code>v1.2.3<\/code>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u26a0\ufe0f Important: &#8220;Last Updated&#8221; vs. &#8220;Last Added&#8221;<\/h2>\n\n\n\n<p>It is a common misconception that this command always returns the highest version number or the most recently <em>created<\/em> tag.<\/p>\n\n\n\n<p><strong>This command returns the most recent tag reachable from your current commit history.<\/strong><\/p>\n\n\n\n<p>If you go back to an older commit (say, from six months ago) and add or move a tag there, <code>git rev-list<\/code> will see that &#8220;updated&#8221; commit as the most recent tagged point in the timeline.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-container-core-quote-is-layout-8a368f38 wp-block-quote-is-layout-flow\" style=\"border-style:none;border-width:0px\">\n<pre class=\"wp-block-verse\"><strong>Warning:<\/strong> If you are looking for the mathematically highest version number (like <code>v2.0.0<\/code> over <code>v1.9.0<\/code>), this command might fail you if <code>v1.9.0<\/code> was the last one touched or merged. For strictly sorted versions, you would typically use <code>git tag --sort=-v:refname<\/code>.<\/pre>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">GitLab CI\/CD Implementation<\/h2>\n\n\n\n<p>To use this in your GitLab pipeline, you need to ensure your runner has enough &#8220;depth&#8221; to see the tags. By default, GitLab often performs a shallow clone, which might hide the tags from Git.<\/p>\n\n\n\n<p>Add this to your <code><strong>.gitlab-ci.yml<\/strong><\/code>:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#282a36\"><span style=\"background:#ebebe6;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#282a36\">YAML<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>variables:\n  # Ensure the runner fetches all tags and history\n  GIT_DEPTH: 0\n\nget_version_job:\n  stage: build\n  script:\n    - echo \"Fetching the most recent tag...\"\n    - LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))\n    - echo \"The identified tag is $LATEST_TAG\"\n    # Example: Save it to a file for other jobs to use\n    - echo \"APP_VERSION=$LATEST_TAG\" >> build.env\n  artifacts:\n    reports:\n      dotenv: build.env<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #97E1F1\">variables<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #7B7F8B\"># Ensure the runner fetches all tags and history<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #97E1F1\">GIT_DEPTH<\/span><span style=\"color: #F286C4\">:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #97E1F1\">get_version_job<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #97E1F1\">stage<\/span><span style=\"color: #F286C4\">:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">build<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #97E1F1\">script<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">echo &quot;Fetching the most recent tag...&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">echo &quot;The identified tag is $LATEST_TAG&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># Example: Save it to a file for other jobs to use<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">echo &quot;APP_VERSION=$LATEST_TAG&quot; &gt;&gt; build.env<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #97E1F1\">artifacts<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #97E1F1\">reports<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">      <\/span><span style=\"color: #97E1F1\">dotenv<\/span><span style=\"color: #F286C4\">:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">build.env<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Why set <code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">GIT_DEPTH: 0<\/mark><\/code> ?<\/h3>\n\n\n\n<p>GitLab runners often optimize for speed by only downloading the last few commits. If the last tag was created 50 commits ago, a shallow clone won&#8217;t see it. Setting the depth to <code>0<\/code> tells GitLab to fetch the entire history so the command works reliably.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Github Implementation<\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:16px 0 0 16px;width:100%;text-align:left;background-color:#282a36\"><span style=\"background:#ebebe6;padding:0.3rem 0.5rem 0.2rem;border-radius:1rem;font-size:0.8em;line-height:1;height:1.25rem;text-align:center;display:inline-flex;align-items:center;justify-content:center;color:#282a36\">YAML<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#f6f6f4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># Example GitHub Actions workflow\non:\n  push:\n    tags:\n      - \"v*.*.*\"\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Get latest tag\n        run: |\n          LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))\n          echo \"Latest tag: $LATEST_TAG\"<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># Example GitHub Actions workflow<\/span><\/span>\n<span class=\"line\"><span style=\"color: #BF9EEE\">on<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #97E1F1\">push<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #97E1F1\">tags<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">      <\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">v*.*.*<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #97E1F1\">jobs<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #97E1F1\">build<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #97E1F1\">runs-on<\/span><span style=\"color: #F286C4\">:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ubuntu-latest<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #97E1F1\">steps<\/span><span style=\"color: #F286C4\">:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">      <\/span><span style=\"color: #F286C4\">-<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #97E1F1\">name<\/span><span style=\"color: #F286C4\">:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">Get latest tag<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">        <\/span><span style=\"color: #97E1F1\">run<\/span><span style=\"color: #F286C4\">:<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">|<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E7EE98\">          LATEST_TAG=$(git describe --tags $(git rev-list --tags --max-count=1))<\/span><\/span>\n<span class=\"line\"><span style=\"color: #E7EE98\">          echo &quot;Latest tag: $LATEST_TAG&quot;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><strong>Handle Edge Cases<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If no tags exist, consider using a fallback (e.g., <code>1.0.0<\/code>) to avoid errors.<\/li>\n\n\n\n<li>Ensure tags are properly formatted (e.g., <code>v1.2.3<\/code>) for compatibility.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finding the right version string in a CI\/CD pipeline can be surprisingly tricky. If you\u2019ve been searching for a way to grab the &#8220;latest&#8221; tag in your GitLab runner, you&#8217;ve likely stumbled across this specific combination of Git commands. At least I did&#8230; Here is a breakdown of what that command does, why it works, and the &#8220;gotchas&#8221; you need to look out for. The Command Breakdown The command is actually two Git commands nested together: 1. The Inner Command: git rev-list The part inside the parenthesis, git rev-list &#8211;tags &#8211;max-count=1, acts as a locator. 2. The Outer Command: git describe Once the inner command finds the &#8220;hash&#8221; (the unique ID) of that commit, git describe &#8211;tags turns that ID into a human-readable string (e.g., v1.2.3). \u26a0\ufe0f Important: &#8220;Last Updated&#8221; vs. &#8220;Last Added&#8221; It is a common misconception that this command always returns the highest version number or the most recently created tag. This command returns the most recent tag reachable from your current commit history. If you go back to an older commit (say, from six months ago) and add or move a tag there, git rev-list will see that &#8220;updated&#8221; commit as the most recent tagged point in the timeline. Warning: If you are looking for the mathematically highest version number (like v2.0.0 over v1.9.0), this command might fail you if v1.9.0 was the last one touched or merged. For strictly sorted versions, you would typically use git tag &#8211;sort=-v:refname. GitLab CI\/CD Implementation To use this in your GitLab pipeline, you need to ensure your runner has enough &#8220;depth&#8221; to see the tags. By default, GitLab often performs a shallow clone, which might hide the tags from Git. Add this to your .gitlab-ci.yml: Why set GIT_DEPTH: 0 ? GitLab runners often optimize for speed by only downloading the last few commits. If the last tag was created 50 commits ago, a shallow clone won&#8217;t see it. Setting the depth to 0 tells GitLab to fetch the entire history so the command works reliably. Github Implementation Handle Edge Cases<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[137,5,6,120,135,136],"tags":[138,56,62],"class_list":["post-1091","post","type-post","status-publish","format-standard","hentry","category-ci-cd-pipelines","category-git","category-github","category-github-actions","category-gitlab","category-gitlab-runner","tag-ci-cd","tag-devops","tag-git"],"_links":{"self":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts\/1091","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1091"}],"version-history":[{"count":2,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts\/1091\/revisions"}],"predecessor-version":[{"id":1142,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=\/wp\/v2\/posts\/1091\/revisions\/1142"}],"wp:attachment":[{"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1091"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techno.slomka.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}