diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..4682677 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: Create GitHub Release + +on: + push: + tags: + - "v*" # Trigger when a version tag is pushed (e.g., v1.0.0) + +jobs: + create-release: + runs-on: ubuntu-latest + + permissions: + contents: write + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Create GitHub Release with Auto-Generated Notes + uses: ncipollo/release-action@v1 + with: + tag: ${{ github.ref_name }} + name: copilot.el ${{ github.ref_name }} + prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-alpha') || contains(github.ref, '-beta') }} + generateReleaseNotes: true # Auto-generate release notes based on PRs and commits + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/LICENSE b/LICENSE index d2985bb..7b6ac3e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2022-2024 copilot-emacs maintainers +Copyright (c) 2022-2025 copilot-emacs maintainers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE. diff --git a/copilot-balancer.el b/copilot-balancer.el index 4241caf..c3f1b78 100644 --- a/copilot-balancer.el +++ b/copilot-balancer.el @@ -1,6 +1,6 @@ ;;; copilot-balancer.el --- Parentheses balancer for Lisps -*- lexical-binding:t -*- -;; Copyright (C) 2022-2024 copilot-emacs maintainers +;; Copyright (C) 2022-2025 copilot-emacs maintainers ;; The MIT License (MIT) diff --git a/copilot.el b/copilot.el index ce6f910..e18c4ed 100644 --- a/copilot.el +++ b/copilot.el @@ -1,6 +1,6 @@ ;;; copilot.el --- An unofficial Copilot plugin -*- lexical-binding: t; -*- -;; Copyright (C) 2022-2024 copilot-emacs maintainers +;; Copyright (C) 2022-2025 copilot-emacs maintainers ;; Author: zerol ;; Maintainer: Emil van der Westhuizen @@ -8,7 +8,7 @@ ;; Rakotomandimby Mihamina ;; URL: https://github.com/copilot-emacs/copilot.el ;; Package-Requires: ((emacs "27.2") (editorconfig "0.8.2") (jsonrpc "1.0.14") (f "0.20.0")) -;; Version: 0.0.1 +;; Version: 0.1.0 ;; Keywords: convenience copilot ;; The MIT License (MIT)