Skip to content

Commit

Permalink
Merge branch 'develop' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
b3rnhard committed May 23, 2021
2 parents 7050a98 + 1e74b32 commit ce2cd6b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: create release

on:
push:
tags:
- "*"
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: montudor/action-zip@v1
with:
args: zip -qq -r youtrack.keypirinha-package youtrack.ini youtrack.py youtrack_server.py icons/icon_youtrack.png lib
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Upload Release
uses: ncipollo/release-action@v1
with:
name: Release ${{ env.RELEASE_VERSION }}
artifacts: "youtrack.keypirinha-package"
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion youtrack_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def get_issues_matching_filter(self, actual_user_input):
for issue in issues:
suggestions.append(self.plugin.create_item(
category=self.plugin.ITEMCAT_ISSUES,
label=issue.summary,
label=issue.summary + " [" + issue.id + "]",
short_desc=
issue.id +
(" ▶ " + issue.description if issue.description is not None else ""),
Expand Down

0 comments on commit ce2cd6b

Please sign in to comment.