Skip to content

Commit 6f586f1

Browse files
authored
Update copyright years and use MIT license in posthog-foss (PostHog#3145)
* Add 2021 to copyright years in LICENSE * Change LICENSE to pure MIT in posthog-foss
1 parent 200b80d commit 6f586f1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/posthog-foss.yml

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
repository: 'posthog/posthog-foss'
2525
ref: master
2626
token: ${{ secrets.SYNC_GITHUB_TOKEN }} # SYNC_GITHUB_TOKEN is a PAT token with the workflows scope which is not in GITHUB_TOKEN
27+
- name: Change LICENSE to pure MIT
28+
run: sed -i -e '/PostHog Inc\./,/Permission is hereby granted/c\PostHog Inc\.\n\n\nPermission is hereby granted' LICENSE
2729
- name: Commit "Sync and remove all non-FOSS parts"
2830
uses: EndBug/add-and-commit@v7
2931
with:

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020 PostHog Inc.
1+
Copyright (c) 2020-2021 PostHog Inc.
22

33
Portions of this software are licensed as follows:
44

0 commit comments

Comments
 (0)