Skip to content

Commit

Permalink
Fix a couple Airflow release doc errors (apache#31951)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedcunningham authored and ferruzzi committed Jun 27, 2023
1 parent 362629a commit 2c27fb5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions dev/README_RELEASE_AIRFLOW.md
Original file line number Diff line number Diff line change
Expand Up @@ -588,15 +588,14 @@ Check if sources are the same as in the tag:
```bash
cd X.Y.Zrc1
tar -xvzf *-source.tar.gz
pushd apache-airflow-X.Y.Zrc1
pushd apache-airflow-X.Y.Z
diff -r airflow "${SOURCE_DIR}"
popd && rm -rf apache-airflow-X.Y.Zrc1
popd && rm -rf apache-airflow-X.Y.Z
```

The output should only miss some files - but they should not show any differences in the files:

```
⌂6.50 [jarek:~/asf-dist/dev/airflow/2.6.2rc2/a] * 1 ‡ diff -r airflow ~/code/airflow/
Only in /Users/jarek/code/airflow: .DS_Store
Only in /Users/jarek/code/airflow: .asf.yaml
Only in /Users/jarek/code/airflow: .bash_aliases
Expand All @@ -618,7 +617,6 @@ popd && rm -rf a
The output should only miss some files - but they should not show any differences in the files:

```
⌂6.50 [jarek:~/asf-dist/dev/airflow/2.6.2rc2/a] * 1 ‡ diff -r airflow ~/code/airflow/
Only in /Users/jarek/code/airflow: .DS_Store
Only in /Users/jarek/code/airflow: .asf.yaml
Only in /Users/jarek/code/airflow: .bash_aliases
Expand All @@ -631,7 +629,7 @@ Check if sdist are the same as in the tag:

```bash
cd X.Y.Zrc1
tar -xvzf apachae-airflow-X.Y.Z.tar.gz
tar -xvzf apache-airflow-X.Y.Z.tar.gz
pushd apache-airflow-X.Y.Z
diff -r airflow "${SOURCE_DIR}"
popd && rm -rf apache-airflow-X.Y.Z
Expand All @@ -640,7 +638,6 @@ popd && rm -rf apache-airflow-X.Y.Z
The output should only miss some files - but they should not show any differences in the files:

```
⌂6.50 [jarek:~/asf-dist/dev/airflow/2.6.2rc2/a] * 1 ‡ diff -r airflow ~/code/airflow/
Only in /Users/jarek/code/airflow: .DS_Store
Only in /Users/jarek/code/airflow: .asf.yaml
Only in /Users/jarek/code/airflow: .bash_aliases
Expand Down

0 comments on commit 2c27fb5

Please sign in to comment.