Skip to content

Commit

Permalink
bump to 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhupesh-V committed May 27, 2020
1 parent 3c32033 commit 7ea5b2e
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [0.8] - May 27, 2020

### Fix
- Fixed bug where compiling a Java program resulted in Compilation Error.


## [0.7] - Jan 19, 2020

### Changed
Expand Down
2 changes: 1 addition & 1 deletion coderunner/coderunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"stack_limit": "64000",
"max_processes_and_or_threads": "30",
"enable_per_process_and_thread_time_limit": "false",
"enable_per_process_and_thread_memory_limit": "true",
"enable_per_process_and_thread_memory_limit": "false",
"max_file_size": "1024",
}

Expand Down
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@



## [0.8] - May 27, 2020

### Fix
- Fixed bug where compiling a Java program resulted in Compilation Error.


## [0.6] - Jan 5, 2020

### Added
Expand Down
35 changes: 35 additions & 0 deletions ppp
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash

# Shell Script to Publish a Python Package
find_setup_py(){
setupfile="setup.py"
if [ -f "$setupfile" ]
then
return
else
echo -e "\nERROR : $setupfile Not Found."
exit
fi
}

remove_old_dist(){
echo -e "\033[92;1mRemoving Old Distributions ... \n\033[0m"
rm -r dist/
rm -r build/
ls | grep "egg-info$" | xargs rm -r
}

create_new_dist(){
echo -e "\033[92;1mGenerating new Distributions ... \n\033[0m"
python3 setup.py sdist bdist_wheel
}

run_twine(){
echo -e "\033[92;1m\nUploading Package ... \n\033[0m"
twine upload dist/*
}

find_setup_py
remove_old_dist
create_new_dist
run_twine
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="coderunner",
version="0.7",
version="0.8",
license="MIT",
author="Bhupesh Varshney",
author_email="varshneybhupesh@gmail.com",
Expand Down

0 comments on commit 7ea5b2e

Please sign in to comment.