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

Make aws_local_config_parser public #3

Merged
merged 1 commit into from
Jul 9, 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
8 changes: 5 additions & 3 deletions .github/workflows/release_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
steps:
- uses: fac/ruby-gem-setup-credentials-action@v2
with:
token: ${{ secrets.github_token }}
user: ""
key: rubygems
token: ${{ secrets.FAC_RUBYGEMS_KEY }}

# Build the gem package
- uses: actions/checkout@v4
Expand All @@ -32,12 +34,12 @@ jobs:
if: github.ref == 'refs/heads/main'
uses: fac/ruby-gem-push-action@v2
with:
key: github
key: rubygems

# PR branch builds will release pre-release gems
- name: Pre-Release
if: github.ref != 'refs/heads/main'
uses: fac/ruby-gem-push-action@v2
with:
key: github
key: rubygems
pre-release: true
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Dale Morgan
Copyright (c) 2024 FreeAgent

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ If for some reason it's necessary, it's possible to temporarily skip `lefthook`
Following [Sematic Versioning](https://semver.org/), bump the version:
1. `gem bump --version "<sem_ver_bump>"` and merge the changes to `main`
1. The [Release and Build Gem](https://github.com/fac/aws_local_config_parser/actions/workflows/release_gem.yml) wokflow will trigger a new version build
1. Manually create a new [release](https://github.com/fac/int-env-management-module/releases):
1. Click on `Draft a new release`
1. In the `Choose a tag` dropdown, selecting the new version
1. Click `Generate release notes` and review the notes
1. Ensure `Set as the latest release` is checked
1. Click `Publish release`
1. Manually create a new [release](https://github.com/fac/aws_local_config_parser/releases):
1. Click on `Draft a new release`
1. In the `Choose a tag` dropdown, selecting the new version
1. Click `Generate release notes` and review the notes
1. Ensure `Set as the latest release` is checked
1. Click `Publish release`
6 changes: 3 additions & 3 deletions aws_local_config_parser.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ require_relative 'lib/aws_local_config_parser/version'
Gem::Specification.new do |spec|
spec.name = 'aws_local_config_parser'
spec.version = AwsLocalConfigParser::VERSION
spec.authors = ['Dale Morgan']
spec.email = ['Dale.Morgan@freeagent.com']
spec.authors = ['FreeAgent']
spec.email = ['opensource@freeagent.com']

spec.summary = 'A simple gem to parse your local AWS config file.'
spec.description = "Parse your local '\"$HOME\"/.aws/config' file."
spec.homepage = 'https://github.com/fac/aws_local_config_parser'
spec.license = 'MIT'
spec.required_ruby_version = '>= 3.1'

spec.metadata['allowed_push_host'] = 'https://rubygems.pkg.github.com/fac'
spec.metadata['allowed_push_host'] = 'https://rubygems.org'

spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = spec.homepage
Expand Down
2 changes: 1 addition & 1 deletion lib/aws_local_config_parser/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

class AwsLocalConfigParser
VERSION = '0.1.0'
VERSION = '1.0.0'
end