Skip to content
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
26 changes: 18 additions & 8 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,22 @@ jobs:
fi

- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: actions/github-script@v6
with:
tag_name: v${{ steps.extract_version.outputs.VERSION }}
release_name: v${{ steps.extract_version.outputs.VERSION }}
body: ${{ steps.extract_notes.outputs.NOTES }}
draft: false
prerelease: ${{ steps.check_prerelease.outputs.IS_PRERELEASE }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { repo, owner } = context.repo;
const version = '${{ steps.extract_version.outputs.VERSION }}';
const isPrerelease = ${{ steps.check_prerelease.outputs.IS_PRERELEASE }} === 'true';

const release = await github.rest.repos.createRelease({
owner,
repo,
tag_name: `v${version}`,
name: `v${version}`,
body: `${{ steps.extract_notes.outputs.NOTES }}`,
draft: false,
prerelease: isPrerelease
});

console.log(`Created release: ${release.data.html_url}`);
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.1] - 2025-05-02

### Added

- ASCII art logo displayed when running setup or help commands
- Better visual branding in terminal output

### Changed

- Improved documentation organization with separate files for:
- Command reference
- Usage examples
- Technical explanation
- Troubleshooting guide

### Fixed

- Fixed issue with color handling in different terminal environments
- Improved error handling when logo file is not available

## [1.1.0] - 2025-05-01

### Added
Expand All @@ -28,5 +48,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Backup functionality for existing git configurations
- CLI commands: setup, add, remove, list, apply

[1.1.1]: https://github.com/befreestudios-io/git-context-switcher/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/befreestudios-io/git-context-switcher/compare/v1.0.0...v1.1.0
[1.0.0]: https://github.com/befreestudios-io/git-context-switcher/releases/tag/v1.0.0
Loading
Loading