Merge branch 'master' into feat/oss-fuzz-integration

pull/569/head
ennamarie19 2023-10-19 13:16:52 -06:00 zatwierdzone przez GitHub
commit 65bf90b6dc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 32 dodań i 0 usunięć

Wyświetl plik

@ -110,3 +110,20 @@ jobs:
fi
twine check dist/*
twine upload dist/*
deploy-github-release:
# only deploy on tags, see https://stackoverflow.com/a/58478262/1320237
if: startsWith(github.ref, 'refs/tags/v')
needs:
- run-tests
runs-on: ubuntu-latest
environment:
name: github-release
steps:
- uses: actions/checkout@v2
- name: create release
uses: elgohr/Github-Release-Action@v4
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
title: ${{ github.ref_name }}

Wyświetl plik

@ -17,6 +17,9 @@ Breaking changes:
New features:
- Added fuzzing harnesses, for integration to OSSFuzz.
- icalendar releases are deployed to Github releases
Fixes: #563
[jacadzaca]
Bug fixes:
@ -28,6 +31,8 @@ Bug fixes:
[jacadzaca]
- Use non legacy timezone name.
Ref: #567
- Add some compare functions.
Ref: #568
5.0.10 (unreleased)
-------------------

Wyświetl plik

@ -257,6 +257,11 @@ class vDDDLists:
out.append(vDDDTypes.from_ical(ical_dt, timezone=timezone))
return out
def __eq__(self, other):
if not isinstance(other, vDDDLists):
return False
return self.dts == other.dts
class vCategory:
@ -865,6 +870,11 @@ class vUTCOffset:
return -offset
return offset
def __eq__(self, other):
if not isinstance(other, vUTCOffset):
return False
return self.td == other.td
class vInline(str):
"""This is an especially dumb class that just holds raw unparsed text and