Skip to content

Commit

Permalink
fix: remove variable
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunprakash027 committed Jan 27, 2024
1 parent ea3e914 commit 6c7bf80
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 20 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/update_version_airlift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
latest_release_tag=$(curl -sSL https://api.github.com/repos/TheAcharya/Airlift/releases/latest | jq -r '.tag_name | ltrimstr("v")')
latest_release_url=$(curl -sSL https://api.github.com/repos/TheAcharya/Airlift/releases/latest | jq -r '.assets[] | select(.name | endswith(".pkg")) | .browser_download_url')
echo "VERSION=$latest_release_tag" >> GITHUB_ENV
echo "Latest release tag: $latest_release_tag"
echo "Latest release URL: $latest_release_url"
Expand All @@ -36,7 +35,6 @@ jobs:
echo 'cask "airlift" do' > Casks/airlift.rb
echo " version \"$tag\"" >> Casks/airlift.rb
echo " sha256 \"$sha256\"" >> Casks/airlift.rb
echo " airlift_version = \"$tag\"" >> Casks/airlift.rb
echo " url \"https://github.com/TheAcharya/Airlift/releases/download/v$tag/Airlift_$tag.pkg\"" >> Casks/airlift.rb
echo ' name "Airlift"' >> Casks/airlift.rb
echo ' desc "Upload & Merge Data with Attachments to Airtable"' >> Casks/airlift.rb
Expand All @@ -53,5 +51,5 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add .
git commit -m "Update Airlift formula to version ${{ env.VERSION }}"
git commit -m "Update Airlift formula to version ${{ steps.get_release.outputs.tag }}"
git push
8 changes: 3 additions & 5 deletions .github/workflows/update_version_markers-extractor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
latest_release_tag=$(curl -sSL https://api.github.com/repos/TheAcharya/MarkersExtractor/releases/latest | jq -r '.tag_name | ltrimstr("v")')
latest_release_url=$(curl -sSL https://api.github.com/repos/TheAcharya/MarkersExtractor/releases/latest | jq -r '.assets[] | select(.name | endswith(".pkg")) | .browser_download_url')
echo "VERSION=$latest_release_tag" >> GITHUB_ENV
echo "Latest release tag: $latest_release_tag"
echo "Latest release URL: $latest_release_url"
Expand All @@ -35,13 +34,12 @@ jobs:
echo 'cask "markers-extractor" do' > Casks/markers-extractor.rb
echo " version \"$tag\"" >> Casks/markers-extractor.rb
echo " sha256 \"$sha256\"" >> Casks/markers-extractor.rb
echo " markers_cli_ver = \"$tag\"" >> Casks/markers-extractor.rb
echo " url \"https://github.com/TheAcharya/MarkersExtractor/releases/download/#{tag}/markers-extractor-cli-#{tag}.pkg\"" >> Casks/markers-extractor.rb
echo " url \"https://github.com/TheAcharya/MarkersExtractor/releases/download/v$tag/markers-extractor-cli-$tag.pkg\"" >> Casks/markers-extractor.rb
echo ' name "MarkersExtractor"' >> Casks/markers-extractor.rb
echo ' desc "Extract Markers from Final Cut Pro FCPXML"' >> Casks/markers-extractor.rb
echo ' homepage "https://github.com/TheAcharya/MarkersExtractor"' >> Casks/markers-extractor.rb
echo '' >> Casks/markers-extractor.rb
echo " pkg \"markers-extractor-cli-#{tag}.pkg\"" >> Casks/markers-extractor.rb
echo " pkg \"markers-extractor-cli-$tag.pkg\"" >> Casks/markers-extractor.rb
echo '' >> Casks/markers-extractor.rb
echo ' uninstall pkgutil: "co.theacharya.MarkersExtractor"' >> Casks/markers-extractor.rb
echo 'end' >> Casks/markers-extractor.rb
Expand All @@ -52,5 +50,5 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add .
git commit -m "Updated markers-extractor formula to version ${{ env.VERSION }}"
git commit -m "Updated markers-extractor formula to version ${{ steps.get_release.outputs.tag }}"
git push
4 changes: 1 addition & 3 deletions .github/workflows/update_version_neo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
latest_release_tag=$(curl -sSL https://api.github.com/repos/TheAcharya/csv2notion-neo/releases/latest | jq -r '.tag_name | ltrimstr("v")')
latest_release_url=$(curl -sSL https://api.github.com/repos/TheAcharya/csv2notion-neo/releases/latest | jq -r '.assets[] | select(.name | endswith(".pkg")) | .browser_download_url')
echo "VERSION=$latest_release_tag" >> GITHUB_ENV
echo "Latest release tag: $latest_release_tag"
echo "Latest release URL: $latest_release_url"
Expand All @@ -36,7 +35,6 @@ jobs:
echo 'cask "csv2notion-neo" do' > Casks/csv2notion-neo.rb
echo " version \"$tag\"" >> Casks/csv2notion-neo.rb
echo " sha256 \"$sha256\"" >> Casks/csv2notion-neo.rb
echo " neo_version = \"$tag\"" >> Casks/csv2notion-neo.rb
echo " url \"https://github.com/TheAcharya/csv2notion-neo/releases/download/v$tag/CSV2Notion-Neo_$tag.pkg\"" >> Casks/csv2notion-neo.rb
echo ' name "Csv2notionNeo"' >> Casks/csv2notion-neo.rb
echo ' desc "Upload & Merge Data with Attachments to Notion"' >> Casks/csv2notion-neo.rb
Expand All @@ -54,5 +52,5 @@ jobs:
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add .
git commit -m "Update csv2notion-neo formula to version ${{ env.VERSION }}"
git commit -m "Update csv2notion-neo formula to version ${{ steps.get_release.outputs.tag }}"
git push
9 changes: 0 additions & 9 deletions GITHUB_ENV

This file was deleted.

0 comments on commit 6c7bf80

Please sign in to comment.