Skip to content

Commit

Permalink
Merge pull request #281 from esp-rs/build/1.83.0.0
Browse files Browse the repository at this point in the history
build/1.83.0.0
  • Loading branch information
MabezDev authored Nov 27, 2024
2 parents 6969d2a + e131f41 commit f7a9a6f
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 62 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-aarch64-apple-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
release_version:
description: "Xtensa Rust release version to build"
required: true
default: '1.82.0.3'
default: '1.83.0.0'
release_tag:
description: "Release tag where artifacts will be stored (e.g. v1.82.0.3, untagged-00000)"
description: "Release tag where artifacts will be stored (e.g. v1.83.0.0, untagged-00000)"
required: true
default: "v1.82.0.3"
default: "v1.83.0.0"

jobs:
get_release:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-aarch64-unknown-linux-gnu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
release_version:
description: "Xtensa Rust release version to build"
required: true
default: '1.82.0.3'
default: '1.83.0.0'
release_tag:
description: "Release tag where artifacts will be stored (e.g. v1.82.0.3, untagged-00000)"
description: "Release tag where artifacts will be stored (e.g. v1.83.0.0, untagged-00000)"
required: true
default: "v1.82.0.3"
default: "v1.83.0.0"

jobs:
get_release:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-rust-src.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
release_version:
description: "Xtensa Rust release version to build"
required: true
default: '1.82.0.3'
default: '1.83.0.0'
release_tag:
description: "Release tag where artifacts will be stored (e.g. v1.82.0.3, untagged-00000)"
description: "Release tag where artifacts will be stored (e.g. v1.83.0.0, untagged-00000)"
required: true
default: "v1.82.0.3"
default: "v1.83.0.0"

jobs:
get_release:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-x86_64-apple-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
release_version:
description: "Xtensa Rust release version to build"
required: true
default: '1.82.0.3'
default: '1.83.0.0'
release_tag:
description: "Release tag where artifacts will be stored (e.g. v1.82.0.3, untagged-00000)"
description: "Release tag where artifacts will be stored (e.g. v1.83.0.0, untagged-00000)"
required: true
default: "v1.82.0.3"
default: "v1.83.0.0"

jobs:
get_release:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-x86_64-pc-windows-gnu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
release_version:
description: "Xtensa Rust release version to build"
required: true
default: '1.82.0.3'
default: '1.83.0.0'
release_tag:
description: "Release tag where artifacts will be stored (e.g. v1.82.0.3, untagged-00000)"
description: "Release tag where artifacts will be stored (e.g. v1.83.0.0, untagged-00000)"
required: true
default: "v1.82.0.3"
default: "v1.83.0.0"

jobs:
get_release:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-x86_64-pc-windows-msvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:
release_version:
description: "Xtensa Rust release version to build"
required: true
default: '1.82.0.3'
default: '1.83.0.0'
release_tag:
description: "Release tag where artifacts will be stored (e.g. v1.82.0.3, untagged-00000)"
description: "Release tag where artifacts will be stored (e.g. v1.83.0.0, untagged-00000)"
required: true
default: "v1.82.0.3"
default: "v1.83.0.0"

jobs:
get_release:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-x86_64-unknown-linux-gnu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
release_version:
description: "Xtensa Rust release version to build"
required: true
default: "1.82.0.3"
default: "1.83.0.0"
release_tag:
description: "Release tag where artifacts will be stored (e.g. v1.82.0.3, untagged-00000)"
description: "Release tag where artifacts will be stored (e.g. v1.83.0.0, untagged-00000)"
required: true
default: "v1.82.0.3"
default: "v1.83.0.0"

jobs:
get_release:
Expand Down
42 changes: 3 additions & 39 deletions .github/workflows/prepare-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,19 @@ name: Prepare Release
on:
workflow_dispatch:
inputs:
last_release:
description: "Previous Xtensa Rust release version"
required: true
default: "v1.82.0.3"
next_release:
description: "Next Xtensa Rust release version"
required: true
default: "v1.82.0.3"
default: "v1.83.0.0"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
prepare-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Replace Xtensa Rust versions
run: |
find . -type f -exec sed -i 's/${{ github.event.inputs.last_release }}/${{ github.event.inputs.next_release }}/g' {} \;
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
add: "*"
message: "Bump Xtensa Rust version to ${{ github.event.inputs.next_release }}"
new_branch: build/${{ github.event.inputs.next_release }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.PAT }}
branch: build/${{ github.event.inputs.next_release }}
base: main
delete-branch: false
title: "Update Xtensa Rust version to ${{ github.event.inputs.next_release }}"
body: ""
draft: false

- uses: mad9000/actions-find-and-replace-string@5
id: findandreplace
with:
source: ${{ github.event.inputs.next_release }}
find: "v"
replace: ""

- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.inputs.next_release }}
release_name: Release ${{ github.event.inputs.next_release }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-idf-rust-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
toolchain-version:
description: "Version of Rust toolchain"
required: true
default: "1.82.0.3"
default: "1.83.0.0"
publish:
description: "Publish the tags to Dockehub?"
required: true
Expand Down
2 changes: 1 addition & 1 deletion support/rust-build/Repackage-RustRelease.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ param (
$ErrorActionPreference = "Stop"

$RustVersion="nightly"
$ReleaseVersion="1.82.0.3"
$ReleaseVersion="1.83.0.0"

if (Test-Path -Path esp -PathType Container) {
Remove-Item -Recurse -Force -Path esp
Expand Down

0 comments on commit f7a9a6f

Please sign in to comment.