Skip to content

Commit

Permalink
[CHORE] Increment version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mickaël Beguin committed Oct 14, 2023
1 parent 9c5effe commit 6676637
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,30 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ github.event.release.tag_name }} ${{ github.workspace }}/intellij-plugin/build/distributions//*

# Create a pull request
- name: Create Pull Request
if: ${{ steps.properties.outputs.changelog != '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
VERSION="${{ github.event.release.tag_name }}"
BRANCH="changelog-update-$VERSION"
LABEL="release changelog"
git config user.email "action@github.com"
git config user.name "GitHub Action"
git checkout -b $BRANCH
git commit -am "Changelog update - $VERSION"
git push --set-upstream origin $BRANCH
gh label create "$LABEL" \
--description "Pull requests with release changelog update" \
--force \
|| true
gh pr create \
--title "Changelog update - \`$VERSION\`" \
--body "Current pull request contains patched \`CHANGELOG.md\` file for the \`$VERSION\` version." \
--label "$LABEL" \
--head $BRANCH
4 changes: 1 addition & 3 deletions intellij-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

[Unreleased]: https://github.com/Lemick/hoverfly-ui/commits

## [0.0.1]

### Added
## [1.0.0]

- Initial project
2 changes: 1 addition & 1 deletion intellij-plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pluginGroup=com.lemick
pluginName=hoverfly-ui-intellij-plugin
pluginRepositoryUrl=https://github.com/Lemick/hoverfly-ui
pluginVersion=1.0.0
pluginVersion=1.0.1
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild=222
pluginUntilBuild=232.*
Expand Down

0 comments on commit 6676637

Please sign in to comment.