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

Add a release process #191

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Add a release process #191

merged 1 commit into from
Aug 7, 2023

Conversation

bilelmoussaoui
Copy link
Member

No description provided.

process.md Show resolved Hide resolved
process.md Outdated Show resolved Hide resolved
process.md Show resolved Hide resolved
@GuillaumeGomez
Copy link
Member

GuillaumeGomez commented Feb 8, 2023

So just for everyone's information, I used the following commands to update the versions:

# "Normal" cargo files:
$ find . -name Cargo.toml | grep -v gir  | grep -v sys | xargs sed -i -E s/'\{ git \='/'\{ branch \= "0.17", version \= "0.17", git \='/
# sys cargo files:
$ find . -name Cargo.toml | grep -v gir | grep 'sys/' | xargs sed -i -E s/'^git \='/'version \= "0.17"\nbranch \= "0.17"\ngit \='/
$ find . -name Cargo.toml | grep -v gir | grep 'sys/' | xargs sed -i -E s/'^path \= "\.'/'version \= "0.17"\npath \= "\.'/
# For inline deps:
$ find . -name Cargo.toml | grep -v gir | xargs sed -i -E s/'\, path \='/'\, version = "0.17", path ='/
$ find . -name Cargo.toml | grep -v gir | xargs sed -i -E s/'\{ path \='/'\{ version = "0.17", path ='/

And for the master branch:

$ find . -name Cargo.toml | grep -v gir | xargs sed -i -E s/'version \= "0.17.+'/'version \= "0.18.0"'/

Of course, 0.17 and they 0.18 version numbers have to be updated accordingly.

@sdroege
Copy link
Member

sdroege commented Aug 7, 2023

Should this maybe be merged? :)

@bilelmoussaoui
Copy link
Member Author

Should this maybe be merged? :)

Yes, should be good to go

@sdroege sdroege merged commit ac68ef8 into master Aug 7, 2023
@sdroege sdroege deleted the bilelmoussaoui-patch-1 branch August 7, 2023 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants