From c5374aae826eda16be348524f86a1f485c30d25a Mon Sep 17 00:00:00 2001 From: Bernhard Jahn Date: Tue, 28 Jul 2020 10:56:45 +0200 Subject: [PATCH 1/2] Add issue id at the end of summary - this allows searching for the issue id in the keypirinha history --- youtrack_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtrack_server.py b/youtrack_server.py index bf6a5c0..d196de8 100644 --- a/youtrack_server.py +++ b/youtrack_server.py @@ -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 ""), From 3434636a4fc547f7fec7f447f1a2de3f4a760de0 Mon Sep 17 00:00:00 2001 From: Bernhard Jahn Date: Sun, 23 May 2021 13:21:18 +0200 Subject: [PATCH 2/2] create release upon tag push --- .github/workflows/create-release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/create-release.yml diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 0000000..6392e2b --- /dev/null +++ b/.github/workflows/create-release.yml @@ -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 }}