diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 247c35f1c0..8df459ab44 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -149,6 +149,13 @@ jobs: run: | ./gradlew patchChangelog --release-note="$CHANGELOG" + # Upload artifact as a release asset + - name: Upload Release Asset + working-directory: ${{ github.workspace }}/PluginsAndFeatures/azure-toolkit-for-rider + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh release upload ${{ github.event.release.tag_name }} ./build/distributions/* + # Publish the plugin to JetBrains Marketplace - name: Publish Plugin working-directory: ${{ github.workspace }}/PluginsAndFeatures/azure-toolkit-for-rider @@ -159,13 +166,6 @@ jobs: PRIVATE_KEY_PASSWORD: ${{ secrets.PRIVATE_KEY_PASSWORD }} run: ./gradlew publishPlugin - # Upload artifact as a release asset - - name: Upload Release Asset - working-directory: ${{ github.workspace }}/PluginsAndFeatures/azure-toolkit-for-rider - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release upload ${{ github.event.release.tag_name }} ./build/distributions/* - # Create a pull request - name: Create Pull Request if: ${{ steps.properties.outputs.changelog != '' }} diff --git a/PluginsAndFeatures/azure-toolkit-for-rider/CHANGELOG.md b/PluginsAndFeatures/azure-toolkit-for-rider/CHANGELOG.md index 10e3439bc2..16964a548b 100644 --- a/PluginsAndFeatures/azure-toolkit-for-rider/CHANGELOG.md +++ b/PluginsAndFeatures/azure-toolkit-for-rider/CHANGELOG.md @@ -2,6 +2,12 @@ # Azure Toolkit for Rider Changelog +## [Unreleased] + +### Fixed + +- Fix DEXP-832012: Error while extracting a file + ## 4.2.4 - 2024-10-28 ### Fixed diff --git a/PluginsAndFeatures/azure-toolkit-for-rider/azure-intellij-plugin-appservice-dotnet/src/main/kotlin/com/microsoft/azure/toolkit/intellij/legacy/function/coreTools/FunctionCoreToolsManager.kt b/PluginsAndFeatures/azure-toolkit-for-rider/azure-intellij-plugin-appservice-dotnet/src/main/kotlin/com/microsoft/azure/toolkit/intellij/legacy/function/coreTools/FunctionCoreToolsManager.kt index 93738ffdfa..26f00aee33 100644 --- a/PluginsAndFeatures/azure-toolkit-for-rider/azure-intellij-plugin-appservice-dotnet/src/main/kotlin/com/microsoft/azure/toolkit/intellij/legacy/function/coreTools/FunctionCoreToolsManager.kt +++ b/PluginsAndFeatures/azure-toolkit-for-rider/azure-intellij-plugin-appservice-dotnet/src/main/kotlin/com/microsoft/azure/toolkit/intellij/legacy/function/coreTools/FunctionCoreToolsManager.kt @@ -228,7 +228,7 @@ class FunctionCoreToolsManager { if (downloadInfo.downloadFolderForTag.exists()) { downloadInfo.downloadFolderForTag.deleteRecursively() } - downloadInfo.downloadFolderForTag.mkdir() + downloadInfo.downloadFolderForTagAndRelease.mkdir() } catch (e: Exception) { LOG.error("Error while removing directory ${downloadInfo.downloadFolderForTag.path}", e) } diff --git a/PluginsAndFeatures/azure-toolkit-for-rider/gradle.properties b/PluginsAndFeatures/azure-toolkit-for-rider/gradle.properties index 6f1cf264a6..868afe99bc 100644 --- a/PluginsAndFeatures/azure-toolkit-for-rider/gradle.properties +++ b/PluginsAndFeatures/azure-toolkit-for-rider/gradle.properties @@ -4,7 +4,7 @@ pluginGroup = com.jetbrains pluginName = azure-toolkit-for-rider pluginRepositoryUrl = https://github.com/JetBrains/azure-tools-for-intellij # SemVer format -> https://semver.org -pluginVersion = 4.2.4 +pluginVersion = 4.2.5 # Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html pluginSinceBuild = 242