Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build/1.83.0.0 #281

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: ""

MabezDev marked this conversation as resolved.
Show resolved Hide resolved
- 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
Loading