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

Automate release #394

Merged
merged 8 commits into from
Jan 11, 2023
Merged

Automate release #394

merged 8 commits into from
Jan 11, 2023

Conversation

ppuetsch
Copy link
Contributor

@ppuetsch ppuetsch commented Jan 5, 2023

Hi @Louisvdw ,

with this PR you can automatically create a release. Simply create a tag v7.8.9 and push it to the repo - and then release v7.8.9 will be build (i.e. the venus-data.tar.gz file will be created) and a release in Github will automatically be created containing this tar.gz file.

please note:
I removed buildfiles.lst in favor of exclusions - so new files will be automatically included.
I removed the dos2unix-commands in favor of .gitattributes - so git will properly checkout the files with the correct line endings

I hope this is what you needed. If not, let me know!

@ppuetsch
Copy link
Contributor Author

Hi @Louisvdw ,

please find in this PR a Github Action to automate the Release.
Let me know if you like to have something changed or would like to discuss something.

Best regards,
Philip

@baranator
Copy link
Contributor

as you are working on the file permissions:

i think /etc/dbus-serialbattery/service/run and /etc/dbus-serialbattery/service/log/run will need a +x too?

@Louisvdw
Copy link
Owner

Yes they should have +x as well

@ppuetsch
Copy link
Contributor Author

Yes they should have +x as well

done

@Louisvdw Louisvdw merged commit ce601fb into Louisvdw:master Jan 11, 2023
ppuetsch added a commit to ppuetsch/dbus-serialbattery that referenced this pull request Jan 11, 2023
* automate release generation

* make shell scripts +x

* add yaml

* rely on gh line ending conventions, simplify buildfiles.lst

* add gitattributes

* set file properties for run scripts to +x

Co-authored-by: Philip Puetsch <[email protected]>

(cherry picked from commit ce601fb)
Louisvdw pushed a commit that referenced this pull request Jan 14, 2023
* bugfixes in midpoint calculation

* publish constants to dbus

* black and flake8

* update documentation

* Fixes to cell voltage, temp and version (#390)
(cherry picked from commit 3b68ea6)

* Automate release (#394)

* automate release generation

* make shell scripts +x

* add yaml

* rely on gh line ending conventions, simplify buildfiles.lst

* add gitattributes

* set file properties for run scripts to +x

Co-authored-by: Philip Puetsch <[email protected]>

(cherry picked from commit ce601fb)

* configure limits as fractions

* lint

* cleanup

* fixes

* remove development logging

Co-authored-by: Philip Puetsch <[email protected]>
Co-authored-by: pchiquit <[email protected]>
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