<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://logicwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Extracting_version_number_from_package.json_in_github_action</id>
		<title>Extracting version number from package.json in github action - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://logicwiki.co.uk/index.php?action=history&amp;feed=atom&amp;title=Extracting_version_number_from_package.json_in_github_action"/>
		<link rel="alternate" type="text/html" href="http://logicwiki.co.uk/index.php?title=Extracting_version_number_from_package.json_in_github_action&amp;action=history"/>
		<updated>2026-10-28T06:04:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://logicwiki.co.uk/index.php?title=Extracting_version_number_from_package.json_in_github_action&amp;diff=2331&amp;oldid=prev</id>
		<title>AliIybar: Created page with &quot;Category:Github Category:CICD   it's possible using '''jq''' which you can find more details with the link below  [https://jqlang.github.io/jq/manual/#invoking-jq http...&quot;</title>
		<link rel="alternate" type="text/html" href="http://logicwiki.co.uk/index.php?title=Extracting_version_number_from_package.json_in_github_action&amp;diff=2331&amp;oldid=prev"/>
				<updated>2024-05-09T09:09:10Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Github&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Github (page does not exist)&quot;&gt;Category:Github&lt;/a&gt; &lt;a href=&quot;/index.php?title=Category:CICD&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:CICD (page does not exist)&quot;&gt;Category:CICD&lt;/a&gt;   it&amp;#039;s possible using &amp;#039;&amp;#039;&amp;#039;jq&amp;#039;&amp;#039;&amp;#039; which you can find more details with the link below  [https://jqlang.github.io/jq/manual/#invoking-jq http...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Github]]&lt;br /&gt;
[[Category:CICD]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
it's possible using '''jq''' which you can find more details with the link below&lt;br /&gt;
&lt;br /&gt;
[https://jqlang.github.io/jq/manual/#invoking-jq https://jqlang.github.io/jq/manual/#invoking-jq]&lt;br /&gt;
&lt;br /&gt;
usage :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    - name: Extract version from package.json&lt;br /&gt;
      run: |&lt;br /&gt;
        VERSION=$(jq -r '.version' package.json)&lt;br /&gt;
        echo &amp;quot;VERSION=$VERSION&amp;quot; &amp;gt;&amp;gt; $GITHUB_ENV&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To create the tag : &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    - name: Create GitHub Release&lt;br /&gt;
      id: create_release&lt;br /&gt;
      uses: softprops/action-gh-release@v1&lt;br /&gt;
      with:&lt;br /&gt;
        files: |&lt;br /&gt;
          SampleApi-v${{ env.VERSION }}.zip&lt;br /&gt;
        tag_name: Live-v${{ env.VERSION }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>AliIybar</name></author>	</entry>

	</feed>