-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a2563a
commit fc8f028
Showing
2 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# SPDX-FileCopyrightText: © 2024 Adrian C. Prelipcean | ||
# | ||
# SPDX-License-Identifier: CC0-1.0 | ||
|
||
name: release | ||
|
||
on: [push] | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
id-token: write | ||
steps: | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
- name: Install doxygen | ||
run: | | ||
sudo apt update | ||
sudo apt install -y doxygen | ||
- name: Cache requirements | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
- name: Install requirements | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Sphinx build | ||
run: | | ||
doxygen Doxygen && sphinx-build docs/ docs/_build/ -a | ||
- name: Extension build | ||
run: | | ||
make && make install | ||
- name: Build package to upload to GitHub releases | ||
run: | | ||
touch pgtfs.tar.gz | ||
tar --exclude=pgtfs.tar.gz -czvf pgtfs.tar.gz ./ | ||
- name: Create a Github release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
with: | ||
files: pgtfs.tar.gz | ||
body: | ||
You can view the changelog | ||
[here](https://github.com/adrianprelipcean/pgtfs/blob/main/changelog.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2024 Adrian C. Prelipcean <[email protected]> | ||
SPDX-License-Identifier: CC-BY-NC-SA-4.0 | ||
--> | ||
|
||
# Changelog | ||
|
||
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). | ||
|
||
## [0.0.1](https://github.com/adrianprelipcean/pgtfs/releases/tag/v0.0.1) | ||
### Added | ||
- Added Connection Scan Algorithm implementation | ||
- Added SQL extension implementation |