<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>github on Otzarri.net</title>
    <link>https://otzarri.net/tags/github/</link>
    <description>Recent content in github on Otzarri.net</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>&amp;copy; 2019 &lt;a href=&#34;https://creativecommons.org/licenses/by-sa/4.0/&#34;&gt;CC BY-SA&lt;/a&gt;</copyright>
    <lastBuildDate>Sun, 26 Feb 2023 00:00:00 +0000</lastBuildDate><atom:link href="https://otzarri.net/tags/github/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Get the latest release tag from a Github repository</title>
      <link>https://otzarri.net/get-the-latest-release-tag-from-a-github-repository/</link>
      <pubDate>Sun, 26 Feb 2023 00:00:00 +0000</pubDate>
      
      <guid>https://otzarri.net/get-the-latest-release-tag-from-a-github-repository/</guid>
      <description>Sometimes I needed to programmatically get the tag name of the latest release from a GitHub repository. It&amp;rsquo;s often useful for automating tasks through scripts or for creating installer CLIs. The GitHub public API provides this information, so you&amp;rsquo;ll get it using your shell.
Define the repository in the REPO environment variable. This way it will be easier for you to try other repositories later.
REPO=&#39;kubernetes/kubernetes&#39; Now use curl to issue a request to the GitHub REST API.</description>
    </item>
    
  </channel>
</rss>
