Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 24 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- id: mac-checksum
name: Capture MacOS SHA256 Checksum
if: needs.prepare.outputs.commit_count > 0 && runner.os == 'macOS'
run: echo "::set-output name=sha256::$(cat ./target/ilo-${{ needs.prepare.outputs.release_version }}-mac.zip.sha256)"
run: echo "sha256=$(cat ./target/ilo-${{ needs.prepare.outputs.release_version }}-mac.zip.sha256)" >> $GITHUB_OUTPUT
- id: upload-java
name: Upload JVM Artifact
if: needs.prepare.outputs.commit_count > 0 && runner.os == 'Linux'
Expand Down Expand Up @@ -185,17 +185,31 @@ jobs:
name: Update Homebrew Checksum
if: needs.prepare.outputs.commit_count > 0
run: sed -i -- 's/sha256 \".*\"/sha256 \"${{ needs.build.outputs.mac_sha256 }}\"/g' HomebrewFormula/ilo.rb
- id: changes
name: Commit Changes
- id: cpr
name: Create Pull Request
if: needs.prepare.outputs.commit_count > 0
uses: EndBug/add-and-commit@v9
uses: peter-evans/create-pull-request@v4
with:
author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com
message: Update package-manager infos for latest release
add: "['build/copr/ilo.spec', 'HomebrewFormula/ilo.rb']"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PAT }}
commit-message: Update package-manager infos for latest release
committer: GitHub <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
title: Update package-manager infos for latest release
body: |
- COPR: `build/copr/ilo.spec`
- Homebrew: `HomebrewFormula/ilo.rb`
assignees: sebhoss
draft: false
base: main
branch: update-package-manager
delete-branch: true
- name: Enable Pull Request Automerge
if: needs.prepare.outputs.commit_count > 0 && steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v2
with:
token: ${{ secrets.PAT }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: rebase
announce:
name: Release Announcement
needs: [prepare, packages]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- .github/workflows/verify.yml
- src/**
- pom.xml
- build/copr/ilo.spec
- HomebrewFormula/ilo.rb
jobs:
verify:
name: Build on ${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 deletions HomebrewFormula/ilo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

class Ilo < Formula
desc "Manage reproducible build environments"
version "2022.11.7"
version "2022.11.28"
homepage "https://ilo.projects.metio.wtf/"
license "CC0"
url "https://github.com/metio/ilo/releases/download/2022.11.7/ilo-2022.11.7-mac.zip"
sha256 "5a3f79434cc194de598935af6dab577bd24801b7b4b523b344848acda8d1acd2"
url "https://github.com/metio/ilo/releases/download/2022.11.28/ilo-2022.11.28-mac.zip"
sha256 "d66d5c8dafae22a22b38d0ed753884c4de54c4ecc961f04210586146aa384cb1"

depends_on "podman" => :optional
depends_on "docker" => :optional
Expand Down
2 changes: 1 addition & 1 deletion build/copr/ilo.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: ilo
Version: 2022.11.7
Version: 2022.11.28
Release: 1%{?dist}
Summary: Manage Reproducible Build Environments
License: CC0
Expand Down