Skip to content

Commit

Permalink
Merge pull request #2 from mhristof/bug-generate-zip-for-release
Browse files Browse the repository at this point in the history
bug-generate-zip-for-release
  • Loading branch information
mhristof authored Feb 15, 2020
2 parents 269b71c + 3743b3a commit 5f0a053
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: current version
run: |
make version
echo "::set-output name=version::$(make version)"
run: echo "::set-output name=version::$(make version)"
id: version
- name: Create Release
if: github.event.pull_request.merged == true
Expand All @@ -29,7 +27,7 @@ jobs:
prerelease: false
- name: create release zip
if: github.event.pull_request.merged == true
run: make zip
run: git archive --format=zip HEAD > alfred-pbpaste.alfredworkflow
- name: Upload Release Asset
id: upload-release-asset
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SHELL := bash

CURRENT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD)

pbpaste.alfredworkflow:
zip:
git archive --format zip HEAD > pbpaste.alfredworkflow

version:
Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
<key>variablesdontexport</key>
<array/>
<key>version</key>
<string>0.1.1</string>
<string>0.1.2</string>
<key>webaddress</key>
<string></string>
</dict>
Expand Down

0 comments on commit 5f0a053

Please sign in to comment.