diff --git a/.github/workflows/bump-homebrew-formula.yml b/.github/workflows/bump-homebrew-formula.yml index 2b0cdc8..a5c39c9 100644 --- a/.github/workflows/bump-homebrew-formula.yml +++ b/.github/workflows/bump-homebrew-formula.yml @@ -2,28 +2,28 @@ name: Bump Homebrew formula on: push: - tags: - - "v*" - workflow_dispatch: + tags: 'v*' - jobs: - homebrew: - name: Bump Homebrew formula - runs-on: ubuntu-latest - steps: - - name: Extract version - id: extract-version - run: | - printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}" - - uses: mislav/bump-homebrew-formula-action@v2 - if: ${{ !contains(github.ref, '-') }} # skip prereleases - with: - formula-name: awselect - formula-path: awselect.rb - homebrew-tap: mariogarridopt/awsume-fzf - base-branch: master - download-url: https://github.com/mariogarridopt/homebrew-awsume-fzf/archive/refs/tags/${{ steps.extract-version.outputs.tag-name }}.tar.gz - commit-message: | - {{formulaName}} {{version}} - env: - COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} +jobs: + homebrew: + name: Bump Homebrew formula + runs-on: ubuntu-latest + steps: + - name: Extract version + id: extract-version + run: | + printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}" + - uses: mislav/bump-homebrew-formula-action@v2 + if: ${{ !contains(github.ref, '-') }} # skip prereleases + with: + formula-name: awselect + formula-path: awselect.rb + homebrew-tap: mariogarridopt/awsume-fzf + base-branch: master + download-url: https://github.com/mariogarridopt/homebrew-awsume-fzf/archive/refs/tags/${{ steps.extract-version.outputs.tag-name }}.tar.gz + commit-message: | + {{formulaName}} {{version}} + + Update Formula Version + env: + COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/manual-homebrew-deploy.yml b/.github/workflows/manual-homebrew-deploy.yml index 6f316ab..c316e7d 100644 --- a/.github/workflows/manual-homebrew-deploy.yml +++ b/.github/workflows/manual-homebrew-deploy.yml @@ -1,21 +1,28 @@ -name: Manuealy Bump Homebrew formula +name: Manual Update on Homebrew formula + on: - workflow_dispatch: - inputs: - tag-name: - description: 'The git tag name to bump the formula to' - required: true - - jobs: - homebrew: - name: Bump Homebrew formula - runs-on: ubuntu-latest - steps: - - uses: mislav/bump-homebrew-formula-action@v2 - with: - formula-name: awselect - tag-name: ${{ github.event.inputs.tag-name }} - download-url: https://github.com/mariogarridopt/homebrew-awsume-fzf/archive/refs/tags/${{ github.event.inputs.tag-name }}.tar.gz - env: - COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} \ No newline at end of file + workflow_dispatch: + inputs: + tag-name: + description: 'The git tag name to bump the formula to' + required: true + +jobs: + homebrew: + name: Bump Homebrew formula + runs-on: ubuntu-latest + steps: + - uses: mislav/bump-homebrew-formula-action@v2 + with: + formula-name: awselect + formula-path: awselect.rb + homebrew-tap: mariogarridopt/awsume-fzf + tag-name: ${{ github.event.inputs.tag-name }} + download-url: https://github.com/mariogarridopt/homebrew-awsume-fzf/archive/refs/tags/${{ github.event.inputs.tag-name }}.tar.gz + commit-message: | + {{formulaName}} {{version}} + + Update Formula Version + env: + COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..77ad52c --- /dev/null +++ b/.gitignore @@ -0,0 +1,32 @@ +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud