Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
the default profile name in config file should be [default]
Browse files Browse the repository at this point in the history
  • Loading branch information
MacHu-GWU committed Aug 4, 2021
1 parent 4c98660 commit a75b72a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aws_tools/_version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

__version__ = "0.0.1"
__version__ = "0.0.2"

if __name__ == "__main__":
print(__version__)
2 changes: 1 addition & 1 deletion aws_tools/handlers/set_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def set_default_profile(wf, args=None):
replace_section(
config_file=PATH_DEFAULT_AWS_CONFIG_FILE.abspath,
source_section_name="profile {}".format(profile_name),
target_section_name="profile default",
target_section_name="default",
)

return wf
11 changes: 9 additions & 2 deletions release-history.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Release and Version History
==============================================================================


0.0.2 (TODO)
0.0.3 (TODO)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Features and Improvements**

Expand All @@ -15,7 +15,14 @@ Release and Version History
**Miscellaneous**


0.0.1 (2021-06-25)
0.0.2 (2021-08-04)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Bugfixes**

- The default profile name in ``~/.aws/config`` should be ``[default]``. In 0.0.1, it was ``[profile default]``


0.0.1 (2021-08-04)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Features and Improvements**

Expand Down

0 comments on commit a75b72a

Please sign in to comment.